Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.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.0009466/0.0009466, allocations: 84.44 kB / 20.7 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.0007658/0.0007658, allocations: 165.9 kB / 23.96 MB, free: 0.6016 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.8732/0.8732, allocations: 177.1 MB / 204.3 MB, free: 5.734 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.5587/0.5587, 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.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.5554 GB, free: 2.281 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.491e-05/1.613e-05, allocations: 2.281 kB / 0.5554 GB, free: 2.277 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001114/0.001131, allocations: 0.7467 MB / 0.5562 GB, free: 1.535 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.000791/0.001922, allocations: 0.882 MB / 0.557 GB, free: 0.6406 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.13e-05/0.001963, allocations: 3.938 kB / 0.557 GB, free: 0.6367 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.063e-05/0.001993, allocations: 3.938 kB / 0.557 GB, free: 0.6328 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.309e-05/0.002067, allocations: 11.92 kB / 0.557 GB, free: 0.6211 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.00222, allocations: 47.83 kB / 0.5571 GB, free: 0.5742 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 9.396e-05/0.002314, allocations: 87.75 kB / 0.5572 GB, free: 500 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.002417, allocations: 23.98 kB / 0.5572 GB, free: 476 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 8.337e-05/0.0025, allocations: 47.89 kB / 0.5572 GB, free: 428 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.073e-05/0.002561, allocations: 39.88 kB / 0.5573 GB, free: 388 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.002588, allocations: 8 kB / 0.5573 GB, free: 380 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 1.029e-05/0.002598, allocations: 8 kB / 0.5573 GB, free: 372 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.162e-05/0.00262, allocations: 23.91 kB / 0.5573 GB, free: 348 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.688e-05/0.002646, allocations: 23.98 kB / 0.5573 GB, free: 324 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.002761, allocations: 95.69 kB / 0.5574 GB, free: 228 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.002762, allocations: 4 kB / 0.5574 GB, free: 224 kB / 0.5105 GB Notification: Performance of FrontEnd: time 6.92e-07/0.002763, allocations: 0 / 0.5574 GB, free: 224 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.316e-06/0.002766, allocations: 0 / 0.5574 GB, free: 224 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004274/0.003194, allocations: 318 kB / 0.5577 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.003228, allocations: 12.62 kB / 0.5577 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/0.003265, allocations: 12.89 kB / 0.5578 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.92e-05/0.003364, allocations: 117.6 kB / 0.5579 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.00338, allocations: 4.375 kB / 0.5579 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.003393, allocations: 8.375 kB / 0.5579 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.003581, allocations: 106.2 kB / 0.558 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.00359, allocations: 3.938 kB / 0.558 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.0036, allocations: 0 / 0.558 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.003604, allocations: 0 / 0.558 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001931/0.003797, allocations: 103.9 kB / 0.5581 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003474/0.004145, allocations: 280.3 kB / 0.5584 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003429/0.004488, allocations: 114.5 kB / 0.5585 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.004588, allocations: 56.81 kB / 0.5585 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.004605, allocations: 0 / 0.5585 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.591e-05/0.004621, allocations: 34.56 kB / 0.5586 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 8.42e-07/0.004621, allocations: 3.938 kB / 0.5586 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0003679/0.004989, allocations: 177.5 kB / 0.5587 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.005017, allocations: 55.41 kB / 0.5588 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.905e-05/0.005086, allocations: 121.8 kB / 0.5589 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.005098, allocations: 29.7 kB / 0.5589 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.964e-05/0.005137, allocations: 96.06 kB / 0.559 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.005157, allocations: 15.86 kB / 0.559 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/0.005189, allocations: 29.7 kB / 0.5591 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.334e-05/0.005263, allocations: 326.7 kB / 0.5594 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.141e-05/0.005354, allocations: 47.89 kB / 0.5594 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.421e-05/0.005438, allocations: 47.95 kB / 0.5595 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/0.005615, allocations: 100.8 kB / 0.5596 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.005616, allocations: 0 / 0.5596 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000211/0.005827, allocations: 134 kB / 0.5597 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.005838, allocations: 4 kB / 0.5597 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.005842, allocations: 0 / 0.5597 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.005853, allocations: 0 / 0.5597 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.746e-05/0.00593, allocations: 31.91 kB / 0.5597 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.005934, allocations: 4.078 kB / 0.5597 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.89e-05/0.005983, allocations: 15.92 kB / 0.5597 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.005992, allocations: 11.97 kB / 0.5598 GB, free: 13.67 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,sub.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 5.945e-05/0.006051, allocations: 117.8 kB / 0.5599 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.644e-05/0.006068, allocations: 7.953 kB / 0.5599 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.689e-05/0.006084, allocations: 8.438 kB / 0.5599 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.006086, allocations: 0 / 0.5599 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.00609, allocations: 0 / 0.5599 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.006092, allocations: 0 / 0.5599 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.006233, allocations: 141.2 kB / 0.56 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.006235, allocations: 4 kB / 0.56 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.262e-05/0.006297, allocations: 23.97 kB / 0.56 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.006299, allocations: 0 / 0.56 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.006308, allocations: 7.984 kB / 0.56 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.006309, allocations: 4 kB / 0.5601 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.00631, allocations: 0 / 0.5601 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/0.006544, allocations: 239.3 kB / 0.5603 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.098e-05/0.006555, allocations: 11.94 kB / 0.5603 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.006567, allocations: 0 / 0.5603 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.07e-05/0.006627, allocations: 11.98 kB / 0.5603 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.492e-05/0.006682, allocations: 23.97 kB / 0.5603 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.006687, allocations: 4 kB / 0.5603 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.431e-05/0.006721, allocations: 95.27 kB / 0.5604 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.006722, allocations: 0 / 0.5604 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001477/0.006869, allocations: 19.88 kB / 0.5604 GB, free: 12.91 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: 3 (sub.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 6.845e-05/0.006938, allocations: 103.2 kB / 0.5605 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002274/0.007165, allocations: 99.84 kB / 0.5606 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.123e-06/0.007166, allocations: 0 / 0.5606 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.832e-05/0.007264, allocations: 59.94 kB / 0.5607 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/0.007457, allocations: 16.94 kB / 0.5607 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002972/0.007754, allocations: 203.2 kB / 0.5609 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.28e-05/0.007797, allocations: 71.33 kB / 0.561 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.777e-05/0.007845, allocations: 20.5 kB / 0.561 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of SimCode: time 4.71e-07/0.007845, allocations: 0 / 0.561 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of Templates: time 0.001759/0.009604, allocations: 1.257 MB / 0.5622 GB, free: 11.04 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.672469831071794] Failed to read output from testmodel.py, exit status != 0: 0.013639801181852818 0.021327716 0.016999047 Calling exit ...