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.0007894/0.0007894, allocations: 76.55 kB / 19.93 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.0007627/0.0007627, allocations: 177.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.8698/0.8698, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.5426/0.5426, allocations: 114 MB / 373.9 MB, free: 8.711 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 1.934e-06/1.934e-06, allocations: 0 / 0.5542 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.424e-05/1.617e-05, allocations: 2.281 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.001225/0.001241, allocations: 0.7327 MB / 0.5549 GB, free: 2.043 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.002337, allocations: 1.159 MB / 0.556 GB, free: 0.8711 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.495e-05/0.002382, allocations: 4 kB / 0.5561 GB, free: 0.8672 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.923e-05/0.002411, allocations: 11.86 kB / 0.5561 GB, free: 0.8555 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.52e-05/0.002476, allocations: 7.875 kB / 0.5561 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004182/0.002894, allocations: 135.1 kB / 0.5562 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.003034, allocations: 123.7 kB / 0.5563 GB, free: 0.5977 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.101e-05/0.003125, allocations: 15.94 kB / 0.5563 GB, free: 0.582 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.003227, allocations: 67.92 kB / 0.5564 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 7.381e-05/0.003301, allocations: 35.89 kB / 0.5564 GB, free: 492 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.003321, allocations: 8 kB / 0.5564 GB, free: 484 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 5.525e-05/0.003376, allocations: 27.97 kB / 0.5565 GB, free: 456 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.988e-05/0.003396, allocations: 11.94 kB / 0.5565 GB, free: 444 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 4.581e-05/0.003442, allocations: 31.97 kB / 0.5565 GB, free: 412 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.003604, allocations: 135.6 kB / 0.5566 GB, free: 276 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.003605, allocations: 0 / 0.5566 GB, free: 276 kB / 0.5105 GB Notification: Performance of FrontEnd: time 7.81e-07/0.003606, allocations: 0 / 0.5566 GB, free: 276 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.00361, allocations: 4 kB / 0.5566 GB, free: 272 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.0004437/0.004054, allocations: 337.2 kB / 0.557 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.00409, allocations: 8.625 kB / 0.557 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.681e-05/0.004117, allocations: 42.67 kB / 0.557 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.333e-05/0.00415, allocations: 8.891 kB / 0.557 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.279e-05/0.004223, allocations: 117.1 kB / 0.5571 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.004235, allocations: 8.375 kB / 0.5571 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.004255, allocations: 8.375 kB / 0.5571 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.004388, allocations: 70.2 kB / 0.5572 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.004396, allocations: 12.17 kB / 0.5572 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.004404, allocations: 4.312 kB / 0.5572 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.00441, allocations: 4.125 kB / 0.5572 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.004512, allocations: 43.95 kB / 0.5573 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003739/0.004886, allocations: 283.8 kB / 0.5575 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.005002, allocations: 54.61 kB / 0.5576 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.117e-05/0.005053, allocations: 40.89 kB / 0.5576 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.005064, allocations: 4 kB / 0.5576 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001429/0.005207, allocations: 91.25 kB / 0.5577 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.005208, allocations: 0 / 0.5577 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.0002688/0.005477, allocations: 137.7 kB / 0.5579 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/0.005509, allocations: 51.41 kB / 0.5579 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.408e-05/0.005573, allocations: 125.8 kB / 0.558 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.005594, allocations: 37.69 kB / 0.5581 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.342e-05/0.005637, allocations: 88.14 kB / 0.5581 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.331e-05/0.00565, allocations: 11.91 kB / 0.5582 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.908e-05/0.005699, allocations: 41.69 kB / 0.5582 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.686e-05/0.005776, allocations: 318.8 kB / 0.5585 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.005882, allocations: 81.66 kB / 0.5586 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.00599, allocations: 117.9 kB / 0.5587 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.006138, allocations: 146.2 kB / 0.5588 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.00614, allocations: 0 / 0.5588 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002598/0.0064, allocations: 248.8 kB / 0.5591 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.006427, allocations: 33.83 kB / 0.5591 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.006431, allocations: 7.938 kB / 0.5591 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.006442, allocations: 0 / 0.5591 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.362e-05/0.006496, allocations: 11.98 kB / 0.5591 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.0065, allocations: 4 kB / 0.5591 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.006601, allocations: 43.84 kB / 0.5592 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.006614, allocations: 11.94 kB / 0.5592 GB, free: 13.4 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 6.794e-05/0.006682, allocations: 121.8 kB / 0.5593 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.955e-06/0.00669, allocations: 15.89 kB / 0.5593 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.154e-05/0.006712, allocations: 12.44 kB / 0.5593 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.006714, allocations: 0 / 0.5593 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.006718, allocations: 0 / 0.5593 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.006721, allocations: 0 / 0.5593 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002818/0.007003, allocations: 345.5 kB / 0.5597 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.007004, allocations: 0 / 0.5597 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.607e-05/0.00703, allocations: 11.94 kB / 0.5597 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.007031, allocations: 4 kB / 0.5597 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.00704, allocations: 7.984 kB / 0.5597 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.007041, allocations: 0 / 0.5597 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.007041, allocations: 0 / 0.5597 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.007192, allocations: 207.5 kB / 0.5599 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.897e-06/0.007201, allocations: 7.953 kB / 0.5599 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.007214, allocations: 4 kB / 0.5599 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.284e-05/0.007257, allocations: 11.98 kB / 0.5599 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/0.007291, allocations: 3.984 kB / 0.5599 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.007297, allocations: 8 kB / 0.5599 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.854e-05/0.007335, allocations: 91.27 kB / 0.56 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.007336, allocations: 0 / 0.56 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001729/0.007508, allocations: 24 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.000361/0.007869, allocations: 0.7513 MB / 0.5608 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002375/0.008107, allocations: 197 kB / 0.5609 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.008109, allocations: 0 / 0.5609 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.874e-05/0.008167, allocations: 35.92 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.0001887/0.008356, allocations: 11.98 kB / 0.561 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.009657, allocations: 1.826 MB / 0.5628 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.917e-05/0.009707, allocations: 79.27 kB / 0.5628 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.949e-05/0.009736, allocations: 4 kB / 0.5628 GB, free: 9.371 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.119e-05/0.009777, allocations: 24.48 kB / 0.5629 GB, free: 9.344 MB / 0.5261 GB Notification: Performance of SimCode: time 5.51e-07/0.009778, allocations: 0 / 0.5629 GB, free: 9.344 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01657/0.02635, allocations: 3.347 MB / 0.5661 GB, free: 6.16 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.649/6.675, allocations: 12.62 kB / 0.5662 GB, free: 6.156 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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.222089011222124] Failed to read output from testmodel.py, exit status != 0: 6.7536330465227365 6.762072876 6.756727948 Calling exit ...