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.0008289/0.0008289, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0009262/0.0009262, allocations: 165.9 kB / 23.96 MB, free: 0.5977 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.8913/0.8913, allocations: 177.1 MB / 204.3 MB, free: 5.742 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.5796/0.5796, allocations: 114 MB / 374.7 MB, free: 8.734 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: translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.046e-06/3.046e-06, allocations: 0 / 0.5554 GB, free: 1.223 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.989e-05/3.293e-05, allocations: 2.281 kB / 0.5554 GB, free: 1.219 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001452/0.001485, allocations: 0.7277 MB / 0.5561 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.002723, allocations: 1.174 MB / 0.5573 GB, free: 15.3 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.519e-05/0.002768, allocations: 0 / 0.5573 GB, free: 15.3 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.787e-05/0.002796, allocations: 7.875 kB / 0.5573 GB, free: 15.3 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.441e-05/0.00286, allocations: 11.94 kB / 0.5573 GB, free: 15.29 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004787/0.003339, allocations: 146.6 kB / 0.5574 GB, free: 15.15 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.003492, allocations: 111.8 kB / 0.5575 GB, free: 15.04 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.431e-05/0.003586, allocations: 11.98 kB / 0.5575 GB, free: 15.03 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.003688, allocations: 67.88 kB / 0.5576 GB, free: 14.96 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.895e-05/0.003767, allocations: 39.88 kB / 0.5577 GB, free: 14.92 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.003789, allocations: 12 kB / 0.5577 GB, free: 14.91 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.923e-05/0.003848, allocations: 23.98 kB / 0.5577 GB, free: 14.89 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.212e-05/0.00387, allocations: 11.94 kB / 0.5577 GB, free: 14.88 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.202e-05/0.003922, allocations: 39.95 kB / 0.5577 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.004104, allocations: 127.6 kB / 0.5579 GB, free: 14.71 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.004107, allocations: 4 kB / 0.5579 GB, free: 14.71 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.004108, allocations: 0 / 0.5579 GB, free: 14.71 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.004113, allocations: 0 / 0.5579 GB, free: 14.71 MB / 490.7 MB 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.000462/0.004575, allocations: 331.8 kB / 0.5582 GB, free: 14.34 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.004614, allocations: 12.62 kB / 0.5582 GB, free: 14.33 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.808e-05/0.004663, allocations: 4.938 kB / 0.5582 GB, free: 14.33 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.839e-05/0.004741, allocations: 113.8 kB / 0.5583 GB, free: 14.19 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.004753, allocations: 4.375 kB / 0.5583 GB, free: 14.19 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.004768, allocations: 8.375 kB / 0.5583 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.004904, allocations: 70.16 kB / 0.5584 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.004912, allocations: 192 / 0.5584 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.004922, allocations: 384 / 0.5584 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.00493, allocations: 384 / 0.5584 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.00503, allocations: 47.89 kB / 0.5584 GB, free: 14.06 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000387/0.005417, allocations: 264.4 kB / 0.5587 GB, free: 13.77 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.005543, allocations: 58.55 kB / 0.5587 GB, free: 13.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.533e-05/0.005599, allocations: 36.91 kB / 0.5588 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.00561, allocations: 3.984 kB / 0.5588 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001744/0.005784, allocations: 87.3 kB / 0.5589 GB, free: 13.56 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.005786, allocations: 7.938 kB / 0.5589 GB, free: 13.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002903/0.006076, allocations: 141.8 kB / 0.559 GB, free: 13.41 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.006114, allocations: 63.39 kB / 0.5591 GB, free: 13.34 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.961e-05/0.006183, allocations: 113.8 kB / 0.5592 GB, free: 13.21 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.006201, allocations: 29.7 kB / 0.5592 GB, free: 13.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.583e-05/0.006247, allocations: 92.17 kB / 0.5593 GB, free: 13.09 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.006266, allocations: 23.88 kB / 0.5593 GB, free: 13.06 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.822e-05/0.006314, allocations: 37.7 kB / 0.5593 GB, free: 13.02 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.753e-05/0.006402, allocations: 318.8 kB / 0.5596 GB, free: 12.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.006515, allocations: 85.66 kB / 0.5597 GB, free: 12.61 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.006622, allocations: 118 kB / 0.5598 GB, free: 12.47 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.00678, allocations: 142 kB / 0.56 GB, free: 12.31 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.006782, allocations: 3.938 kB / 0.56 GB, free: 12.31 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002829/0.007065, allocations: 240.9 kB / 0.5602 GB, free: 12.05 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.508e-05/0.0071, allocations: 41.62 kB / 0.5603 GB, free: 12.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.007105, allocations: 0 / 0.5603 GB, free: 12.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.007119, allocations: 4.062 kB / 0.5603 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.536e-05/0.007185, allocations: 23.92 kB / 0.5603 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.00719, allocations: 0 / 0.5603 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.007296, allocations: 32.03 kB / 0.5603 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.007311, allocations: 15.98 kB / 0.5603 GB, free: 11.93 MB / 490.7 MB 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.387e-05/0.007385, allocations: 118.7 kB / 0.5604 GB, free: 11.81 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.116e-05/0.007396, allocations: 15.89 kB / 0.5605 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.004e-05/0.007416, allocations: 4.438 kB / 0.5605 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.007419, allocations: 0 / 0.5605 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.007424, allocations: 3.984 kB / 0.5605 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.007427, allocations: 4 kB / 0.5605 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002883/0.007715, allocations: 326 kB / 0.5608 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.007717, allocations: 3.938 kB / 0.5608 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.477e-05/0.007741, allocations: 4 kB / 0.5608 GB, free: 11.42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.007745, allocations: 3.984 kB / 0.5608 GB, free: 11.42 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.007753, allocations: 4 kB / 0.5608 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.007755, allocations: 0 / 0.5608 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.007756, allocations: 0 / 0.5608 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.007926, allocations: 211.4 kB / 0.561 GB, free: 11.19 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-06/0.007934, allocations: 7.953 kB / 0.561 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.007946, allocations: 4 kB / 0.561 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.268e-05/0.007988, allocations: 7.984 kB / 0.561 GB, free: 11.17 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.008025, allocations: 11.98 kB / 0.561 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.008032, allocations: 7.938 kB / 0.561 GB, free: 11.15 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.588e-05/0.008067, allocations: 91.27 kB / 0.5611 GB, free: 11.06 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008068, allocations: 0 / 0.5611 GB, free: 11.06 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000179/0.008246, allocations: 23.94 kB / 0.5611 GB, free: 11.04 MB / 490.7 MB 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.0001293/0.008376, allocations: 102.9 kB / 0.5612 GB, free: 10.93 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002472/0.008623, allocations: 201 kB / 0.5614 GB, free: 10.71 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.008624, allocations: 0 / 0.5614 GB, free: 10.71 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.639e-05/0.008691, allocations: 31.92 kB / 0.5615 GB, free: 10.68 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.008896, allocations: 21.48 kB / 0.5615 GB, free: 10.66 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003135/0.009209, allocations: 179.3 kB / 0.5617 GB, free: 10.45 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.236e-05/0.009262, allocations: 79.58 kB / 0.5617 GB, free: 10.36 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.765e-05/0.009289, allocations: 12.5 kB / 0.5617 GB, free: 10.34 MB / 490.7 MB Notification: Performance of SimCode: time 6.31e-07/0.00929, allocations: 0 / 0.5617 GB, free: 10.34 MB / 490.7 MB Notification: Performance of Templates: time 0.002131/0.01142, allocations: 1.282 MB / 0.563 GB, free: 9.078 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.685657335445285] Failed to read output from testmodel.py, exit status != 0: 0.01697335857897997 0.028183414 0.022338486 Calling exit ...