Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0008083/0.0008083, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.000861/0.000861, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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.9063/0.9063, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5706/0.5706, allocations: 114 MB / 373.9 MB, free: 8.703 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.147e-06/4.147e-06, allocations: 0 / 0.5542 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.262e-05/3.677e-05, allocations: 6.547 kB / 0.5542 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002735/0.002772, allocations: 0.7332 MB / 0.5549 GB, free: 2.043 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001683/0.004454, allocations: 1.166 MB / 0.5561 GB, free: 0.8633 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.076e-05/0.004505, allocations: 4 kB / 0.5561 GB, free: 0.8594 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.288e-05/0.004538, allocations: 7.922 kB / 0.5561 GB, free: 0.8516 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.479e-05/0.004613, allocations: 11.88 kB / 0.5561 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004906/0.005103, allocations: 130.6 kB / 0.5562 GB, free: 0.7148 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.005258, allocations: 119.7 kB / 0.5563 GB, free: 0.5977 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.00536, allocations: 11.94 kB / 0.5563 GB, free: 0.5859 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.005476, allocations: 75.8 kB / 0.5564 GB, free: 0.5117 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 7.956e-05/0.005556, allocations: 31.95 kB / 0.5564 GB, free: 492 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.005579, allocations: 16 kB / 0.5564 GB, free: 476 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 6e-05/0.005639, allocations: 27.97 kB / 0.5565 GB, free: 448 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.343e-05/0.005662, allocations: 11.94 kB / 0.5565 GB, free: 436 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 5.04e-05/0.005713, allocations: 31.97 kB / 0.5565 GB, free: 404 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.005898, allocations: 131.6 kB / 0.5566 GB, free: 272 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.005902, allocations: 0 / 0.5566 GB, free: 272 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.863e-06/0.005904, allocations: 0 / 0.5566 GB, free: 272 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.00591, allocations: 4 kB / 0.5566 GB, free: 268 kB / 0.5105 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.0005495/0.00646, allocations: 335.8 kB / 0.557 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.006503, allocations: 12.62 kB / 0.557 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.988e-05/0.006533, allocations: 30.75 kB / 0.557 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.854e-05/0.006582, allocations: 16.88 kB / 0.557 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.817e-05/0.00667, allocations: 113.7 kB / 0.5571 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.006688, allocations: 12.38 kB / 0.5571 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.006706, allocations: 8.375 kB / 0.5572 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.006872, allocations: 70.14 kB / 0.5572 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.954e-06/0.006879, allocations: 192 / 0.5572 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.00689, allocations: 4.375 kB / 0.5572 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.006896, allocations: 4.125 kB / 0.5572 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.007004, allocations: 47.95 kB / 0.5573 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005018/0.007506, allocations: 283.8 kB / 0.5575 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.00765, allocations: 54.61 kB / 0.5576 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.465e-05/0.007704, allocations: 28.91 kB / 0.5576 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.007717, allocations: 7.969 kB / 0.5576 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002186/0.007936, allocations: 103.2 kB / 0.5577 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 2.124e-06/0.007938, allocations: 0 / 0.5577 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.0003163/0.008254, allocations: 141.6 kB / 0.5579 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.008293, allocations: 51.41 kB / 0.5579 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.971e-05/0.008373, allocations: 124.6 kB / 0.558 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.008397, allocations: 29.7 kB / 0.5581 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.15e-05/0.008448, allocations: 92.12 kB / 0.5581 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/0.008467, allocations: 15.91 kB / 0.5582 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.85e-05/0.008566, allocations: 45.69 kB / 0.5582 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.296e-05/0.008649, allocations: 318.8 kB / 0.5585 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.008776, allocations: 77.66 kB / 0.5586 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.00889, allocations: 116.7 kB / 0.5587 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.009052, allocations: 146.1 kB / 0.5588 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.009054, allocations: 3.938 kB / 0.5588 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002869/0.009341, allocations: 256.8 kB / 0.5591 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.009374, allocations: 29.7 kB / 0.5591 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.009381, allocations: 4 kB / 0.5591 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.009396, allocations: 0 / 0.5591 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.35e-05/0.00947, allocations: 16.05 kB / 0.5591 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.009479, allocations: 8 kB / 0.5591 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.009594, allocations: 43.84 kB / 0.5592 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.009608, allocations: 4 kB / 0.5592 GB, free: 13.39 MB / 0.5261 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.409e-05/0.009692, allocations: 123 kB / 0.5593 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.177e-05/0.009704, allocations: 11.89 kB / 0.5593 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.618e-05/0.00973, allocations: 8.438 kB / 0.5593 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.009733, allocations: 4 kB / 0.5593 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.009738, allocations: 4 kB / 0.5593 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.009742, allocations: 0 / 0.5593 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003334/0.01007, allocations: 345.5 kB / 0.5597 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01008, allocations: 0 / 0.5597 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.088e-05/0.01011, allocations: 4 kB / 0.5597 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.01011, allocations: 0 / 0.5597 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.01012, allocations: 7.984 kB / 0.5597 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.01012, allocations: 4.062 kB / 0.5597 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.01012, allocations: 7.938 kB / 0.5597 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.01037, allocations: 207.4 kB / 0.5599 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.063e-05/0.01038, allocations: 7.953 kB / 0.5599 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.01039, allocations: 0 / 0.5599 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.102e-05/0.01044, allocations: 11.98 kB / 0.5599 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.01049, allocations: 7.984 kB / 0.5599 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.01049, allocations: 4 kB / 0.5599 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.144e-05/0.01053, allocations: 91.27 kB / 0.56 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.01053, allocations: 3.938 kB / 0.56 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002052/0.01074, allocations: 28 kB / 0.56 GB, free: 12.46 MB / 0.5261 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.0004919/0.01123, allocations: 0.7474 MB / 0.5608 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002977/0.01153, allocations: 196.9 kB / 0.5609 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.01153, allocations: 0 / 0.5609 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.268e-05/0.0116, allocations: 36.23 kB / 0.561 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.01184, allocations: 18.33 kB / 0.561 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.01337, allocations: 1.815 MB / 0.5628 GB, free: 9.469 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.677e-05/0.01342, allocations: 79.27 kB / 0.5628 GB, free: 9.371 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.834e-05/0.01346, allocations: 4 kB / 0.5628 GB, free: 9.367 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.552e-05/0.01351, allocations: 20.48 kB / 0.5629 GB, free: 9.344 MB / 0.5261 GB Notification: Performance of SimCode: time 8.92e-07/0.01351, allocations: 0 / 0.5629 GB, free: 9.344 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02027/0.03378, allocations: 3.358 MB / 0.5661 GB, free: 6.152 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.684/6.718, allocations: 4.656 kB / 0.5662 GB, free: 6.152 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.200936230830848] Failed to read output from testmodel.py, exit status != 0: 6.804691988043487 6.815302657 6.807280705 Calling exit ...