Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert.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.001265/0.001265, allocations: 85.22 kB / 19.94 MB, free: 1.781 MB / 14.72 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.001327/0.001327, allocations: 163.2 kB / 23.22 MB, free: 4.902 MB / 14.72 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 1.368/1.368, allocations: 177.1 MB / 203.5 MB, free: 9.172 MB / 190.1 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.9039/0.9039, allocations: 114 MB / 373.9 MB, free: 13.24 MB / 350.1 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.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.5546 GB, free: 2.664 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.044e-05/2.182e-05, allocations: 2.281 kB / 0.5546 GB, free: 2.66 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.00152/0.001542, allocations: 0.5751 MB / 0.5552 GB, free: 2.09 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.003009, allocations: 1.147 MB / 0.5563 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.13e-05/0.003051, allocations: 0 / 0.5563 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.274e-05/0.003074, allocations: 0 / 0.5563 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 6.225e-05/0.003136, allocations: 7.875 kB / 0.5563 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004551/0.003591, allocations: 115 kB / 0.5564 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.00375, allocations: 91.89 kB / 0.5565 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.103e-05/0.003821, allocations: 7.922 kB / 0.5565 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.698e-05/0.003918, allocations: 47.91 kB / 0.5566 GB, free: 0.668 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.805e-05/0.004006, allocations: 27.95 kB / 0.5566 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.004031, allocations: 8 kB / 0.5566 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.774e-05/0.004099, allocations: 23.91 kB / 0.5566 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.774e-05/0.004117, allocations: 4 kB / 0.5566 GB, free: 0.6055 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 7.665e-05/0.004193, allocations: 27.92 kB / 0.5567 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.00436, allocations: 95.83 kB / 0.5568 GB, free: 496 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.004362, allocations: 0 / 0.5568 GB, free: 496 kB / 462.1 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004363, allocations: 4 kB / 0.5568 GB, free: 492 kB / 462.1 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.004366, allocations: 0 / 0.5568 GB, free: 492 kB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004318/0.004798, allocations: 296 kB / 0.5571 GB, free: 156 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.004838, allocations: 8.625 kB / 0.5571 GB, free: 148 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.091e-05/0.004879, allocations: 4.938 kB / 0.5571 GB, free: 144 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.872e-05/0.004977, allocations: 113.8 kB / 0.5572 GB, free: 4 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.004994, allocations: 4.375 kB / 0.5572 GB, free: 0 / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.877e-05/0.005033, allocations: 4.422 kB / 0.5572 GB, free: 15.99 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.005139, allocations: 63.91 kB / 0.5572 GB, free: 15.92 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.005147, allocations: 4.125 kB / 0.5572 GB, free: 15.92 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.005156, allocations: 384 / 0.5572 GB, free: 15.92 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.00516, allocations: 4.375 kB / 0.5573 GB, free: 15.91 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.228e-05/0.005182, allocations: 7.938 kB / 0.5573 GB, free: 15.91 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003344/0.005517, allocations: 228.5 kB / 0.5575 GB, free: 15.65 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.118e-05/0.005568, allocations: 14.58 kB / 0.5575 GB, free: 15.63 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.906e-05/0.005587, allocations: 8.922 kB / 0.5575 GB, free: 15.62 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.456e-06/0.005595, allocations: 3.938 kB / 0.5575 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001218/0.005717, allocations: 92.98 kB / 0.5576 GB, free: 15.5 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.005718, allocations: 0 / 0.5576 GB, free: 15.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001842/0.005902, allocations: 69.75 kB / 0.5577 GB, free: 15.43 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.00594, allocations: 59.34 kB / 0.5577 GB, free: 15.36 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.175e-05/0.006032, allocations: 113.8 kB / 0.5578 GB, free: 15.24 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.209e-05/0.006064, allocations: 29.7 kB / 0.5579 GB, free: 15.2 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.052e-05/0.006115, allocations: 84.08 kB / 0.5579 GB, free: 15.12 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.662e-05/0.006131, allocations: 15.94 kB / 0.5579 GB, free: 15.1 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-05/0.006194, allocations: 29.7 kB / 0.558 GB, free: 15.07 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.006331, allocations: 310.8 kB / 0.5583 GB, free: 14.75 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.815e-05/0.006429, allocations: 57.69 kB / 0.5583 GB, free: 14.69 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.006533, allocations: 80.25 kB / 0.5584 GB, free: 14.6 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.00665, allocations: 88.2 kB / 0.5585 GB, free: 14.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.006651, allocations: 0 / 0.5585 GB, free: 14.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002776/0.006929, allocations: 173.3 kB / 0.5587 GB, free: 14.31 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.454e-05/0.006973, allocations: 45.62 kB / 0.5587 GB, free: 14.26 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.006977, allocations: 0 / 0.5587 GB, free: 14.26 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.006994, allocations: 4 kB / 0.5587 GB, free: 14.25 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.775e-05/0.007011, allocations: 4 kB / 0.5587 GB, free: 14.25 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.007015, allocations: 0 / 0.5587 GB, free: 14.25 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.007212, allocations: 24.06 kB / 0.5587 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.007234, allocations: 11.98 kB / 0.5587 GB, free: 14.21 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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 9.361e-05/0.007328, allocations: 122.9 kB / 0.5589 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.177e-06/0.007337, allocations: 0 / 0.5589 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.564e-05/0.007363, allocations: 11.94 kB / 0.5589 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.007364, allocations: 0 / 0.5589 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.007368, allocations: 0 / 0.5589 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.00737, allocations: 0 / 0.5589 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.007471, allocations: 105.3 kB / 0.559 GB, free: 13.94 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.007472, allocations: 0 / 0.559 GB, free: 13.94 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.624e-06/0.00748, allocations: 4 kB / 0.559 GB, free: 13.94 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.007481, allocations: 4 kB / 0.559 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.007488, allocations: 0 / 0.559 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.007491, allocations: 3.938 kB / 0.559 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.007494, allocations: 7.922 kB / 0.559 GB, free: 13.92 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.007605, allocations: 85.02 kB / 0.5591 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-06/0.007611, allocations: 0 / 0.5591 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.007624, allocations: 4 kB / 0.5591 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.731e-05/0.007641, allocations: 3.938 kB / 0.5591 GB, free: 13.81 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-05/0.00767, allocations: 3.984 kB / 0.5591 GB, free: 13.81 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.007677, allocations: 4 kB / 0.5591 GB, free: 13.8 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.118e-05/0.007728, allocations: 83.28 kB / 0.5592 GB, free: 13.72 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.007728, allocations: 4 kB / 0.5592 GB, free: 13.72 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002261/0.007954, allocations: 12 kB / 0.5592 GB, free: 13.71 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001321/0.008086, allocations: 103.2 kB / 0.5593 GB, free: 13.6 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0002211/0.008307, allocations: 145 kB / 0.5594 GB, free: 13.44 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.008309, allocations: 0 / 0.5594 GB, free: 13.44 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 2.68e-05/0.008336, allocations: 11.98 kB / 0.5594 GB, free: 13.43 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.00853, allocations: 14.09 kB / 0.5594 GB, free: 13.42 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002629/0.008793, allocations: 120.9 kB / 0.5596 GB, free: 13.27 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.245e-05/0.008846, allocations: 63.34 kB / 0.5596 GB, free: 13.19 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 1.531e-05/0.008861, allocations: 0 / 0.5596 GB, free: 13.19 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.976e-05/0.008881, allocations: 12.73 kB / 0.5596 GB, free: 13.18 MB / 478.1 MB Notification: Performance of SimCode: time 3.11e-07/0.008881, allocations: 0 / 0.5596 GB, free: 13.18 MB / 478.1 MB Notification: Performance of Templates: time 0.003779/0.01266, allocations: 1.175 MB / 0.5608 GB, free: 12.03 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.014374952763319] Failed to read output from testmodel.py, exit status != 0: 0.020690441131591797 0.035037919 0.027700426 Calling exit ...