Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.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: 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.0008111/0.0008111, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8849/0.8849, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.5473/0.5473, allocations: 114 MB / 373.9 MB, free: 8.723 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.Edge,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.945e-06/2.945e-06, allocations: 3.938 kB / 0.5542 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.597e-05/2.891e-05, allocations: 3.828 kB / 0.5542 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002376/0.002405, allocations: 0.7227 MB / 0.5549 GB, free: 2.031 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001759/0.004164, allocations: 1.162 MB / 0.556 GB, free: 0.8555 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.339e-05/0.004227, allocations: 3.938 kB / 0.556 GB, free: 0.8516 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.759e-05/0.004265, allocations: 7.922 kB / 0.5561 GB, free: 0.8438 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 8.363e-05/0.004349, allocations: 11.92 kB / 0.5561 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006494/0.004998, allocations: 138.8 kB / 0.5562 GB, free: 0.6992 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0002136/0.005212, allocations: 119.7 kB / 0.5563 GB, free: 0.582 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.005328, allocations: 11.94 kB / 0.5563 GB, free: 0.5703 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.005479, allocations: 63.89 kB / 0.5564 GB, free: 0.5078 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.005585, allocations: 39.92 kB / 0.5564 GB, free: 480 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.015e-05/0.005615, allocations: 12 kB / 0.5564 GB, free: 468 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 7.052e-05/0.005685, allocations: 19.94 kB / 0.5565 GB, free: 448 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.711e-05/0.005713, allocations: 15.97 kB / 0.5565 GB, free: 432 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 6.814e-05/0.005781, allocations: 35.91 kB / 0.5565 GB, free: 396 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.006012, allocations: 127.7 kB / 0.5566 GB, free: 268 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.006017, allocations: 4 kB / 0.5566 GB, free: 264 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.974e-06/0.006019, allocations: 0 / 0.5566 GB, free: 264 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.006025, allocations: 3.938 kB / 0.5566 GB, free: 260 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006523/0.006677, allocations: 335.8 kB / 0.5569 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001874/0.006865, allocations: 12.62 kB / 0.557 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.055e-05/0.006905, allocations: 30.75 kB / 0.557 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.587e-05/0.006961, allocations: 12.89 kB / 0.557 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.007064, allocations: 113.7 kB / 0.5571 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.007088, allocations: 12.36 kB / 0.5571 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.007114, allocations: 12.36 kB / 0.5571 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.007331, allocations: 62.23 kB / 0.5572 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.007341, allocations: 192 / 0.5572 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.007354, allocations: 4.375 kB / 0.5572 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.007363, allocations: 4.125 kB / 0.5572 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.007521, allocations: 43.95 kB / 0.5572 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005333/0.008054, allocations: 283.8 kB / 0.5575 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.008235, allocations: 58.61 kB / 0.5576 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.775e-05/0.008323, allocations: 28.97 kB / 0.5576 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.008341, allocations: 3.938 kB / 0.5576 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00027/0.008611, allocations: 91.3 kB / 0.5577 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 2.144e-06/0.008613, allocations: 0 / 0.5577 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.0004178/0.009031, allocations: 149.6 kB / 0.5578 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.009076, allocations: 51.41 kB / 0.5579 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.055e-05/0.009166, allocations: 121.7 kB / 0.558 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.009196, allocations: 33.7 kB / 0.558 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.116e-05/0.009257, allocations: 96.08 kB / 0.5581 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.00928, allocations: 15.84 kB / 0.5581 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.46e-05/0.009354, allocations: 37.7 kB / 0.5582 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.009473, allocations: 318.8 kB / 0.5585 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.009653, allocations: 81.66 kB / 0.5586 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/0.009846, allocations: 129.8 kB / 0.5587 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002506/0.0101, allocations: 138.2 kB / 0.5588 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.0101, allocations: 0 / 0.5588 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004843/0.01058, allocations: 248.9 kB / 0.559 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.85e-05/0.01063, allocations: 37.7 kB / 0.5591 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.01064, allocations: 0 / 0.5591 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.01066, allocations: 4 kB / 0.5591 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.484e-05/0.01076, allocations: 15.92 kB / 0.5591 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.01077, allocations: 0 / 0.5591 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/0.01094, allocations: 35.91 kB / 0.5591 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.01097, allocations: 12 kB / 0.5591 GB, free: 13.41 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,edge1.y,edge1.u,$PRE.edge1.u,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 0.0001075/0.01107, allocations: 121.9 kB / 0.5593 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.695e-05/0.01109, allocations: 3.938 kB / 0.5593 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.92e-05/0.01113, allocations: 16.42 kB / 0.5593 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.01113, allocations: 3.938 kB / 0.5593 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.01114, allocations: 0 / 0.5593 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.01115, allocations: 3.938 kB / 0.5593 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005005/0.01165, allocations: 345.5 kB / 0.5596 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.01165, allocations: 4 kB / 0.5596 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.087e-05/0.0117, allocations: 7.984 kB / 0.5596 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.0117, allocations: 0 / 0.5596 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.01172, allocations: 4 kB / 0.5596 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.01172, allocations: 8 kB / 0.5596 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.01172, allocations: 0 / 0.5596 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.01198, allocations: 215.4 kB / 0.5598 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.24e-05/0.01199, allocations: 3.984 kB / 0.5599 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.01201, allocations: 0 / 0.5599 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.293e-05/0.01208, allocations: 8 kB / 0.5599 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.01213, allocations: 7.984 kB / 0.5599 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.01214, allocations: 8 kB / 0.5599 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.761e-05/0.0122, allocations: 91.27 kB / 0.56 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1e-07/0.0122, allocations: 3.938 kB / 0.56 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002865/0.01249, allocations: 23.95 kB / 0.56 GB, free: 12.47 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.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.0008738/0.01336, allocations: 0.7397 MB / 0.5607 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000387/0.01375, allocations: 201 kB / 0.5609 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.01375, allocations: 0 / 0.5609 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.01385, allocations: 31.97 kB / 0.5609 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.01416, allocations: 22.17 kB / 0.561 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.01584, allocations: 1.821 MB / 0.5627 GB, free: 9.477 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.365e-05/0.01589, allocations: 71.33 kB / 0.5628 GB, free: 9.387 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.705e-05/0.01593, allocations: 7.984 kB / 0.5628 GB, free: 9.379 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.777e-05/0.01598, allocations: 24.5 kB / 0.5628 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of SimCode: time 8.51e-07/0.01598, allocations: 0 / 0.5628 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01966/0.03564, allocations: 3.327 MB / 0.5661 GB, free: 6.191 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.674/6.71, allocations: 10.23 kB / 0.5661 GB, free: 6.184 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge_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_Edge.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.25272917561233] Failed to read output from testmodel.py, exit status != 0: 6.79140186868608 6.800275285 6.792322715 Calling exit ...