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.0007856/0.0007856, 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.0008718/0.0008718, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.884/0.884, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.5594/0.5594, 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.Integers.Validation.Subtract,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.5542 GB, free: 1.672 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.543e-05/1.709e-05, allocations: 4.797 kB / 0.5542 GB, free: 1.668 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001205/0.001222, allocations: 0.7452 MB / 0.5549 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008434/0.002066, allocations: 0.8821 MB / 0.5558 GB, free: 32 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.999e-05/0.002106, allocations: 0 / 0.5558 GB, free: 32 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 3.486e-05/0.00214, allocations: 11.81 kB / 0.5558 GB, free: 20 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 7.503e-05/0.002215, allocations: 7.938 kB / 0.5558 GB, free: 12 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000154/0.002369, allocations: 39.89 kB / 0.5558 GB, free: 15.97 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.059e-05/0.00246, allocations: 91.75 kB / 0.5559 GB, free: 15.88 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.422e-05/0.002554, allocations: 19.98 kB / 0.556 GB, free: 15.86 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.516e-05/0.002639, allocations: 51.88 kB / 0.556 GB, free: 15.81 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.085e-05/0.0027, allocations: 39.89 kB / 0.556 GB, free: 15.77 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.002724, allocations: 8 kB / 0.5561 GB, free: 15.77 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.087e-05/0.002735, allocations: 8 kB / 0.5561 GB, free: 15.76 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.044e-05/0.002755, allocations: 15.97 kB / 0.5561 GB, free: 15.74 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.717e-05/0.002783, allocations: 31.91 kB / 0.5561 GB, free: 15.71 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.002886, allocations: 91.66 kB / 0.5562 GB, free: 15.62 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.002888, allocations: 0 / 0.5562 GB, free: 15.62 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.002889, allocations: 4 kB / 0.5562 GB, free: 15.62 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.002893, allocations: 4 kB / 0.5562 GB, free: 15.61 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004258/0.003319, allocations: 318 kB / 0.5565 GB, free: 15.27 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.003356, allocations: 8.031 kB / 0.5565 GB, free: 15.27 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.062e-05/0.003386, allocations: 38.73 kB / 0.5565 GB, free: 15.22 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.363e-05/0.00341, allocations: 12.83 kB / 0.5566 GB, free: 15.21 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.354e-05/0.003503, allocations: 113.8 kB / 0.5567 GB, free: 15.07 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.003518, allocations: 4.375 kB / 0.5567 GB, free: 15.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.003531, allocations: 8.375 kB / 0.5567 GB, free: 15.06 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.003721, allocations: 117.5 kB / 0.5568 GB, free: 14.94 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.003729, allocations: 0 / 0.5568 GB, free: 14.94 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.00374, allocations: 4 kB / 0.5568 GB, free: 14.94 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.003746, allocations: 3.984 kB / 0.5568 GB, free: 14.93 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001984/0.003944, allocations: 99.89 kB / 0.5569 GB, free: 14.84 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003909/0.004335, allocations: 299.7 kB / 0.5572 GB, free: 14.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003559/0.004691, allocations: 118.6 kB / 0.5573 GB, free: 14.38 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.004791, allocations: 48.81 kB / 0.5573 GB, free: 14.32 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.004807, allocations: 4 kB / 0.5573 GB, free: 14.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.004825, allocations: 42.48 kB / 0.5574 GB, free: 14.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.004826, allocations: 0 / 0.5574 GB, free: 14.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003814/0.005207, allocations: 189.4 kB / 0.5576 GB, free: 14.08 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.005234, allocations: 51.41 kB / 0.5576 GB, free: 14.02 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.472e-05/0.005298, allocations: 125.8 kB / 0.5577 GB, free: 13.88 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.005311, allocations: 25.7 kB / 0.5578 GB, free: 13.85 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.837e-05/0.005349, allocations: 88.14 kB / 0.5578 GB, free: 13.76 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.005371, allocations: 27.78 kB / 0.5579 GB, free: 13.73 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.005404, allocations: 21.72 kB / 0.5579 GB, free: 13.71 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.415e-05/0.005478, allocations: 326.8 kB / 0.5582 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.249e-05/0.00557, allocations: 43.95 kB / 0.5582 GB, free: 13.34 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.702e-05/0.005657, allocations: 43.95 kB / 0.5583 GB, free: 13.29 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001819/0.005839, allocations: 109.2 kB / 0.5584 GB, free: 13.18 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.005842, allocations: 0 / 0.5584 GB, free: 13.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002239/0.006065, allocations: 141.5 kB / 0.5585 GB, free: 13.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.006077, allocations: 4 kB / 0.5585 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.006082, allocations: 0 / 0.5585 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.006094, allocations: 4 kB / 0.5585 GB, free: 13.03 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.68e-05/0.006171, allocations: 23.97 kB / 0.5586 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.006177, allocations: 4 kB / 0.5586 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.202e-05/0.006229, allocations: 15.97 kB / 0.5586 GB, free: 12.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.006237, allocations: 3.938 kB / 0.5586 GB, free: 12.98 MB / 490.7 MB 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 6.626e-05/0.006303, allocations: 113.8 kB / 0.5587 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/0.006321, allocations: 11.95 kB / 0.5587 GB, free: 12.85 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.86e-05/0.00634, allocations: 12.42 kB / 0.5587 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.006341, allocations: 0 / 0.5587 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.006347, allocations: 8 kB / 0.5587 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.00635, allocations: 3.938 kB / 0.5587 GB, free: 12.83 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.006475, allocations: 156.7 kB / 0.5589 GB, free: 12.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.006476, allocations: 0 / 0.5589 GB, free: 12.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.346e-05/0.006539, allocations: 23.97 kB / 0.5589 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.006541, allocations: 4 kB / 0.5589 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.006549, allocations: 0 / 0.5589 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.00655, allocations: 0 / 0.5589 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.006551, allocations: 3.984 kB / 0.5589 GB, free: 12.61 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.006794, allocations: 239.3 kB / 0.5591 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.169e-05/0.006806, allocations: 15.88 kB / 0.5591 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.006817, allocations: 0 / 0.5591 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.226e-05/0.006879, allocations: 11.98 kB / 0.5592 GB, free: 12.33 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.472e-05/0.006934, allocations: 19.97 kB / 0.5592 GB, free: 12.31 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.006939, allocations: 7.938 kB / 0.5592 GB, free: 12.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.21e-05/0.006981, allocations: 102.7 kB / 0.5593 GB, free: 12.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.006981, allocations: 3.938 kB / 0.5593 GB, free: 12.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001543/0.007135, allocations: 15.94 kB / 0.5593 GB, free: 12.18 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: 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 0.0004072/0.007542, allocations: 0.7593 MB / 0.56 GB, free: 11.39 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002238/0.007766, allocations: 107.8 kB / 0.5601 GB, free: 11.29 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.007767, allocations: 4 kB / 0.5601 GB, free: 11.29 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.007869, allocations: 59.95 kB / 0.5602 GB, free: 11.23 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.008071, allocations: 11.98 kB / 0.5602 GB, free: 11.21 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.00929, allocations: 1.545 MB / 0.5617 GB, free: 9.586 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.222e-05/0.009342, allocations: 75.33 kB / 0.5618 GB, free: 9.492 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.246e-05/0.009385, allocations: 8 kB / 0.5618 GB, free: 9.484 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.221e-05/0.009447, allocations: 32.48 kB / 0.5618 GB, free: 9.453 MB / 490.7 MB Notification: Performance of SimCode: time 4.71e-07/0.009448, allocations: 0 / 0.5618 GB, free: 9.453 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01419/0.02364, allocations: 3.487 MB / 0.5652 GB, free: 6.129 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.977/7, allocations: 5.266 kB / 0.5652 GB, free: 6.129 MB / 490.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Subtract_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Subtract.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.310894108377397] Failed to read output from testmodel.py, exit status != 0: 7.080930364318192 7.089906103 7.085273254 Calling exit ...