Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007947/0.0007947, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008354/0.0008354, allocations: 214.6 kB / 22.26 MB, free: 3.852 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9535/0.9535, allocations: 230.6 MB / 256 MB, free: 3.453 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8112/0.8112, allocations: 203.8 MB / 0.5042 GB, free: 0.7617 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001029/0.001029, allocations: 63.91 kB / 0.7182 GB, free: 14.97 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.574/0.575, allocations: 102 MB / 0.8179 GB, free: 24.93 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002043/0.5771, allocations: 0.7354 MB / 0.8186 GB, free: 24.47 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001762/0.5788, allocations: 1.194 MB / 0.8198 GB, free: 23.6 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.297e-05/0.5789, allocations: 1.625 kB / 0.8198 GB, free: 23.6 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.544e-05/0.5789, allocations: 5.812 kB / 0.8198 GB, free: 23.6 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.5e-05/0.579, allocations: 7.172 kB / 0.8198 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005043/0.5795, allocations: 141.9 kB / 0.8199 GB, free: 23.52 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002139/0.5797, allocations: 122 kB / 0.82 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.5799, allocations: 15.3 kB / 0.82 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.58, allocations: 48.28 kB / 0.8201 GB, free: 23.44 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.5801, allocations: 46.41 kB / 0.8201 GB, free: 23.42 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.909e-05/0.5801, allocations: 10.75 kB / 0.8201 GB, free: 23.42 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.893e-05/0.5802, allocations: 26.12 kB / 0.8202 GB, free: 23.41 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.673e-05/0.5802, allocations: 13.36 kB / 0.8202 GB, free: 23.41 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 7.689e-05/0.5803, allocations: 47.48 kB / 0.8202 GB, free: 23.38 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.5805, allocations: 116.7 kB / 0.8203 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.5805, allocations: 0.5938 kB / 0.8203 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.456e-06/0.5805, allocations: 1.875 kB / 0.8203 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.808e-06/0.5805, allocations: 0.5625 kB / 0.8203 GB, free: 23.34 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006488/0.5812, allocations: 338.3 kB / 0.8207 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.399e-05/0.5813, allocations: 11.81 kB / 0.8207 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.41e-05/0.5813, allocations: 32.94 kB / 0.8207 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.058e-05/0.5814, allocations: 11.86 kB / 0.8207 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.5815, allocations: 112.3 kB / 0.8208 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.5815, allocations: 4.844 kB / 0.8208 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.5815, allocations: 8.016 kB / 0.8208 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.5817, allocations: 70.03 kB / 0.8209 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.5817, allocations: 3.938 kB / 0.8209 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.5817, allocations: 1.734 kB / 0.8209 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.5818, allocations: 5.094 kB / 0.8209 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.5819, allocations: 52.58 kB / 0.821 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005333/0.5824, allocations: 307.7 kB / 0.8213 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.5826, allocations: 65.06 kB / 0.8213 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.323e-05/0.5827, allocations: 31.84 kB / 0.8213 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.5827, allocations: 0 / 0.8213 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002531/0.5829, allocations: 87.5 kB / 0.8214 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.402e-06/0.5829, allocations: 1.688 kB / 0.8214 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0003148/0.5833, allocations: 147 kB / 0.8216 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.5833, allocations: 57.09 kB / 0.8216 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.699e-05/0.5834, allocations: 123.2 kB / 0.8217 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.5834, allocations: 29.17 kB / 0.8218 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.58e-05/0.5834, allocations: 99.16 kB / 0.8219 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.5834, allocations: 15.77 kB / 0.8219 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-05/0.5835, allocations: 38.77 kB / 0.8219 GB, free: 22 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.72e-05/0.5835, allocations: 324.1 kB / 0.8222 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.5836, allocations: 48.53 kB / 0.8223 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.5838, allocations: 87.33 kB / 0.8224 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.5839, allocations: 138.7 kB / 0.8225 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.5839, allocations: 0 / 0.8225 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002967/0.5842, allocations: 217.9 kB / 0.8227 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/0.5843, allocations: 40.45 kB / 0.8227 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.5843, allocations: 0.875 kB / 0.8227 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.5843, allocations: 2.188 kB / 0.8227 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.438e-05/0.5844, allocations: 10.91 kB / 0.8227 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.5844, allocations: 6.344 kB / 0.8228 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.5845, allocations: 43.03 kB / 0.8228 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.5845, allocations: 11.92 kB / 0.8228 GB, free: 21.34 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.505e-05/0.5846, allocations: 122 kB / 0.8229 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/0.5846, allocations: 12.17 kB / 0.8229 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.733e-05/0.5846, allocations: 10.72 kB / 0.8229 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.5846, allocations: 1.125 kB / 0.8229 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5846, allocations: 0.5625 kB / 0.8229 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.5846, allocations: 5.422 kB / 0.8229 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003493/0.585, allocations: 350.9 kB / 0.8233 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.585, allocations: 0 / 0.8233 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.559e-05/0.585, allocations: 9.281 kB / 0.8233 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.585, allocations: 0 / 0.8233 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.585, allocations: 6.516 kB / 0.8233 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.585, allocations: 0 / 0.8233 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.585, allocations: 10.42 kB / 0.8233 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001834/0.5852, allocations: 203 kB / 0.8235 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.179e-05/0.5852, allocations: 7.828 kB / 0.8235 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.5853, allocations: 1.844 kB / 0.8235 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.845e-05/0.5853, allocations: 10.86 kB / 0.8235 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.388e-05/0.5854, allocations: 9.266 kB / 0.8235 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.5854, allocations: 7.484 kB / 0.8235 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.048e-05/0.5854, allocations: 91.47 kB / 0.8236 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.1e-08/0.5854, allocations: 0.5 kB / 0.8236 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000212/0.5856, allocations: 29.23 kB / 0.8237 GB, free: 20.63 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004503/0.5861, allocations: 0.7527 MB / 0.8244 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003218/0.5864, allocations: 161 kB / 0.8245 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5864, allocations: 0 / 0.8245 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.453e-05/0.5865, allocations: 36.64 kB / 0.8246 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.5867, allocations: 21.7 kB / 0.8246 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.588, allocations: 1.691 MB / 0.8262 GB, free: 18.4 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.302e-05/0.5881, allocations: 0.6873 MB / 0.8269 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.418e-05/0.5881, allocations: 9.453 kB / 0.8269 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.292e-05/0.5882, allocations: 21.58 kB / 0.827 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of SimCode: time 5.92e-07/0.5882, allocations: 4 kB / 0.827 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01912/0.6073, allocations: 2.697 MB / 0.8296 GB, free: 17.21 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.525/7.132, allocations: 13.81 kB / 0.8296 GB, free: 17.21 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.145181310130283] Failed to read output from testmodel.py, exit status != 0: 7.21149548701942 7.226312574 6.643100131 Calling exit ...