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.0008187/0.0008187, allocations: 76.5 kB / 19.92 MB, free: 4.629 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.0009039/0.0009039, allocations: 177.2 kB / 23.21 MB, free: 1.344 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.8739/0.8739, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.5481/0.5481, allocations: 114 MB / 373.9 MB, free: 8.695 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 3.697e-06/3.697e-06, allocations: 0 / 0.5542 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.778e-05/3.148e-05, allocations: 7.906 kB / 0.5542 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002619/0.002651, allocations: 0.7227 MB / 0.5549 GB, free: 2.047 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002/0.004651, allocations: 1.166 MB / 0.556 GB, free: 0.8672 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.134e-05/0.004722, allocations: 0 / 0.556 GB, free: 0.8672 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 4.655e-05/0.004769, allocations: 3.938 kB / 0.5561 GB, free: 0.8633 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.004881, allocations: 19.84 kB / 0.5561 GB, free: 0.8438 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006772/0.005559, allocations: 129.8 kB / 0.5562 GB, free: 0.7227 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0003099/0.005868, allocations: 119.7 kB / 0.5563 GB, free: 0.6055 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.005974, allocations: 15.92 kB / 0.5563 GB, free: 0.5898 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.006101, allocations: 67.88 kB / 0.5564 GB, free: 0.5234 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 8.185e-05/0.006183, allocations: 39.94 kB / 0.5564 GB, free: 496 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.006205, allocations: 12 kB / 0.5564 GB, free: 484 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 6.368e-05/0.006269, allocations: 19.94 kB / 0.5565 GB, free: 464 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.671e-05/0.006295, allocations: 15.97 kB / 0.5565 GB, free: 448 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 5.23e-05/0.006348, allocations: 31.92 kB / 0.5565 GB, free: 416 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.006545, allocations: 131.6 kB / 0.5566 GB, free: 284 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.006549, allocations: 0 / 0.5566 GB, free: 284 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.663e-06/0.00655, allocations: 0 / 0.5566 GB, free: 284 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.829e-06/0.00656, allocations: 0 / 0.5566 GB, free: 284 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.0004913/0.007051, allocations: 339.8 kB / 0.557 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.007097, allocations: 12.62 kB / 0.557 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.181e-05/0.007129, allocations: 34.73 kB / 0.557 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.36e-05/0.007172, allocations: 12.89 kB / 0.557 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.726e-05/0.007259, allocations: 113.7 kB / 0.5571 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.007275, allocations: 8.375 kB / 0.5571 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.007291, allocations: 8.375 kB / 0.5571 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.007438, allocations: 62.22 kB / 0.5572 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.515e-06/0.007445, allocations: 4.125 kB / 0.5572 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.007456, allocations: 4.375 kB / 0.5572 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.007462, allocations: 8.125 kB / 0.5572 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.007567, allocations: 39.95 kB / 0.5572 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000485/0.008052, allocations: 279.9 kB / 0.5575 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.008205, allocations: 62.55 kB / 0.5576 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.105e-05/0.008266, allocations: 28.97 kB / 0.5576 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.00828, allocations: 3.938 kB / 0.5576 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002052/0.008485, allocations: 87.36 kB / 0.5577 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.934e-06/0.008487, allocations: 3.938 kB / 0.5577 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.0002805/0.008768, allocations: 149.6 kB / 0.5578 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.008803, allocations: 55.39 kB / 0.5579 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.755e-05/0.008871, allocations: 117.8 kB / 0.558 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.008889, allocations: 29.7 kB / 0.558 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.592e-05/0.008935, allocations: 104.1 kB / 0.5581 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.558e-05/0.008951, allocations: 11.84 kB / 0.5581 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-05/0.009001, allocations: 37.7 kB / 0.5582 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.91e-05/0.00908, allocations: 322.8 kB / 0.5585 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.009189, allocations: 81.66 kB / 0.5586 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.0093, allocations: 121.9 kB / 0.5587 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.009463, allocations: 142.2 kB / 0.5588 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.009465, allocations: 0 / 0.5588 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002777/0.009743, allocations: 244.8 kB / 0.559 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/0.00977, allocations: 41.69 kB / 0.5591 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.009775, allocations: 0 / 0.5591 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.009789, allocations: 4.125 kB / 0.5591 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.816e-05/0.009847, allocations: 15.98 kB / 0.5591 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.009853, allocations: 3.938 kB / 0.5591 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.009958, allocations: 35.91 kB / 0.5591 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.009972, allocations: 8 kB / 0.5592 GB, free: 13.42 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 7.34e-05/0.01005, allocations: 121.8 kB / 0.5593 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.346e-06/0.01005, allocations: 3.938 kB / 0.5593 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.553e-05/0.01008, allocations: 16.42 kB / 0.5593 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.01008, allocations: 4 kB / 0.5593 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.01009, allocations: 0 / 0.5593 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.01009, allocations: 0 / 0.5593 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003183/0.01041, allocations: 349.4 kB / 0.5596 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.01041, allocations: 0 / 0.5596 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.938e-05/0.01044, allocations: 7.984 kB / 0.5596 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.01044, allocations: 0 / 0.5596 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.01045, allocations: 4.062 kB / 0.5596 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.01045, allocations: 8 kB / 0.5596 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01045, allocations: 0 / 0.5596 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001753/0.01063, allocations: 211.3 kB / 0.5598 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.152e-06/0.01063, allocations: 4 kB / 0.5598 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.01065, allocations: 7.984 kB / 0.5599 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.162e-05/0.01069, allocations: 4 kB / 0.5599 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.351e-05/0.01074, allocations: 7.984 kB / 0.5599 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-06/0.01074, allocations: 4 kB / 0.5599 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.59e-05/0.01079, allocations: 95.2 kB / 0.56 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.01079, allocations: 4 kB / 0.56 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001987/0.01099, allocations: 31.89 kB / 0.56 GB, free: 12.48 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.0004815/0.01147, allocations: 0.7432 MB / 0.5607 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000261/0.01173, allocations: 197 kB / 0.5609 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01173, allocations: 4.25 kB / 0.5609 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.261e-05/0.01179, allocations: 31.97 kB / 0.5609 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.012, allocations: 15.98 kB / 0.561 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.01343, allocations: 1.824 MB / 0.5627 GB, free: 9.488 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.094e-05/0.01348, allocations: 71.33 kB / 0.5628 GB, free: 9.398 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.19e-05/0.01351, allocations: 7.984 kB / 0.5628 GB, free: 9.391 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.065e-05/0.01355, allocations: 20.5 kB / 0.5628 GB, free: 9.367 MB / 0.5261 GB Notification: Performance of SimCode: time 4.91e-07/0.01355, allocations: 0 / 0.5628 GB, free: 9.367 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01596/0.02951, allocations: 3.327 MB / 0.5661 GB, free: 6.211 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.986/7.015, allocations: 14.02 kB / 0.5661 GB, free: 6.199 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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.39774363860488] Failed to read output from testmodel.py, exit status != 0: 7.0972054516896605 7.1040109 7.095621058 Calling exit ...