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.000767/0.000767, allocations: 109.5 kB / 18.95 MB, free: 1.184 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.0008865/0.0008865, allocations: 214.2 kB / 22.25 MB, free: 3.578 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.9874/0.9874, allocations: 230.6 MB / 256 MB, free: 9.625 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.8074/0.8074, allocations: 203.8 MB / 0.5042 GB, free: 10.41 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.001023/0.001023, allocations: 74.22 kB / 0.7182 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5594/0.5604, allocations: 102 MB / 0.8178 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001485/0.5619, allocations: 0.7332 MB / 0.8185 GB, free: 0.5859 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.5632, allocations: 1.174 MB / 0.8197 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.216e-05/0.5632, allocations: 0 / 0.8197 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.887e-05/0.5633, allocations: 4.734 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.103e-05/0.5634, allocations: 11.34 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000598/0.564, allocations: 143.2 kB / 0.8198 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.5642, allocations: 116.2 kB / 0.8199 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.5643, allocations: 14.06 kB / 0.8199 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.5644, allocations: 54.78 kB / 0.82 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.5645, allocations: 35.58 kB / 0.82 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.5645, allocations: 9.906 kB / 0.82 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.323e-05/0.5646, allocations: 24.3 kB / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.736e-05/0.5646, allocations: 12.77 kB / 0.8201 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.269e-05/0.5647, allocations: 42.27 kB / 0.8201 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.5649, allocations: 116.7 kB / 0.8202 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.5649, allocations: 0 / 0.8202 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5649, allocations: 0 / 0.8202 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.5649, allocations: 4.609 kB / 0.8202 GB, free: 15.48 MB / 0.6198 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.000498/0.5654, allocations: 339.5 kB / 0.8205 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.5654, allocations: 11.62 kB / 0.8206 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.698e-05/0.5654, allocations: 35.92 kB / 0.8206 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.5655, allocations: 8.281 kB / 0.8206 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.13e-05/0.5656, allocations: 117.4 kB / 0.8207 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.5656, allocations: 8.219 kB / 0.8207 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.5656, allocations: 7.375 kB / 0.8207 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.5657, allocations: 66.05 kB / 0.8208 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.5657, allocations: 7.938 kB / 0.8208 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.5658, allocations: 3.656 kB / 0.8208 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.5658, allocations: 3.984 kB / 0.8208 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.5659, allocations: 48.34 kB / 0.8208 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004458/0.5663, allocations: 293.4 kB / 0.8211 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.5665, allocations: 51.94 kB / 0.8212 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.753e-05/0.5665, allocations: 31.52 kB / 0.8212 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.5665, allocations: 0.8438 kB / 0.8212 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002182/0.5667, allocations: 92.19 kB / 0.8213 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 2.124e-06/0.5667, allocations: 0 / 0.8213 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003122/0.5671, allocations: 142.6 kB / 0.8214 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.5671, allocations: 54.39 kB / 0.8215 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.196e-05/0.5672, allocations: 121.1 kB / 0.8216 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.5672, allocations: 37.02 kB / 0.8216 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.401e-05/0.5673, allocations: 93.53 kB / 0.8217 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.5673, allocations: 20.2 kB / 0.8217 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.587e-05/0.5673, allocations: 38.61 kB / 0.8218 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.981e-05/0.5674, allocations: 325.5 kB / 0.8221 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.5675, allocations: 83.11 kB / 0.8222 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.5677, allocations: 119.5 kB / 0.8223 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.5678, allocations: 142.4 kB / 0.8224 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.686e-06/0.5678, allocations: 0 / 0.8224 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000281/0.5681, allocations: 246.8 kB / 0.8227 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/0.5681, allocations: 34.81 kB / 0.8227 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.5681, allocations: 6.281 kB / 0.8227 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.5682, allocations: 1.312 kB / 0.8227 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.561e-05/0.5682, allocations: 11.41 kB / 0.8227 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.5682, allocations: 5.141 kB / 0.8227 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.5684, allocations: 46.67 kB / 0.8228 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.5684, allocations: 5.5 kB / 0.8228 GB, free: 13.38 MB / 0.6198 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 8.072e-05/0.5684, allocations: 124.9 kB / 0.8229 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.887e-06/0.5685, allocations: 7.094 kB / 0.8229 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.935e-05/0.5685, allocations: 11.81 kB / 0.8229 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.5685, allocations: 1.312 kB / 0.8229 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.5685, allocations: 1.344 kB / 0.8229 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.5685, allocations: 0 / 0.8229 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004797/0.569, allocations: 342 kB / 0.8232 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.569, allocations: 0 / 0.8232 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.504e-05/0.569, allocations: 12.56 kB / 0.8232 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.569, allocations: 4.969 kB / 0.8232 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.569, allocations: 5.938 kB / 0.8232 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.569, allocations: 1.438 kB / 0.8232 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.569, allocations: 4.641 kB / 0.8233 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001815/0.5692, allocations: 201.5 kB / 0.8234 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.756e-06/0.5692, allocations: 3.516 kB / 0.8234 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.5692, allocations: 10.11 kB / 0.8235 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.728e-05/0.5693, allocations: 7.203 kB / 0.8235 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/0.5693, allocations: 10.17 kB / 0.8235 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.5693, allocations: 7.453 kB / 0.8235 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.881e-05/0.5694, allocations: 94.7 kB / 0.8236 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5694, allocations: 0 / 0.8236 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001814/0.5696, allocations: 33.42 kB / 0.8236 GB, free: 12.67 MB / 0.6198 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.0004155/0.57, allocations: 0.7448 MB / 0.8243 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002927/0.5703, allocations: 196.8 kB / 0.8245 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.5703, allocations: 0 / 0.8245 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.197e-05/0.5703, allocations: 40.72 kB / 0.8246 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.5705, allocations: 16.17 kB / 0.8246 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.5721, allocations: 1.807 MB / 0.8263 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.695e-05/0.5721, allocations: 71.78 kB / 0.8264 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.75e-05/0.5722, allocations: 8.781 kB / 0.8264 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.505e-05/0.5722, allocations: 22.17 kB / 0.8264 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of SimCode: time 6.11e-07/0.5722, allocations: 0 / 0.8264 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01837/0.5906, allocations: 3.24 MB / 0.8296 GB, free: 9.215 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.709/7.299, allocations: 5.875 kB / 0.8296 GB, free: 9.211 MB / 0.6198 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.31509450590238] Failed to read output from testmodel.py, exit status != 0: 7.3774884468875825 7.3886328820000005 6.821279724 Calling exit ...