Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Add.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.0007628/0.0007628, allocations: 76.5 kB / 19.93 MB, free: 4.621 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.0008315/0.0008315, allocations: 173.9 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.893/0.893, allocations: 177.1 MB / 203.5 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.5552/0.5552, 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.Add,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.5542 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.132e-05/1.328e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Add): time 0.001695/0.001708, allocations: 0.7495 MB / 0.5549 GB, free: 2.02 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.002801, allocations: 0.8743 MB / 0.5558 GB, free: 1.133 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.698e-05/0.002848, allocations: 0 / 0.5558 GB, free: 1.133 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.825e-05/0.002886, allocations: 11.86 kB / 0.5558 GB, free: 1.121 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 8.687e-05/0.002973, allocations: 19.86 kB / 0.5558 GB, free: 1.102 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.003158, allocations: 39.89 kB / 0.5559 GB, free: 1.062 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.003275, allocations: 83.81 kB / 0.5559 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.003393, allocations: 15.98 kB / 0.5559 GB, free: 0.9648 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.003499, allocations: 55.83 kB / 0.556 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 8.107e-05/0.00358, allocations: 35.89 kB / 0.556 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.313e-05/0.003613, allocations: 8 kB / 0.556 GB, free: 0.8672 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 1.45e-05/0.003627, allocations: 8 kB / 0.5561 GB, free: 0.8594 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 3.135e-05/0.003659, allocations: 23.91 kB / 0.5561 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.489e-05/0.003694, allocations: 23.92 kB / 0.5561 GB, free: 0.8125 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.003839, allocations: 103.7 kB / 0.5562 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.003841, allocations: 0 / 0.5562 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.12e-07/0.003842, allocations: 0 / 0.5562 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.003846, allocations: 0 / 0.5562 GB, free: 0.7109 MB / 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.0005283/0.004374, allocations: 314 kB / 0.5565 GB, free: 384 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.004417, allocations: 12.62 kB / 0.5565 GB, free: 372 kB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.817e-05/0.004455, allocations: 34.75 kB / 0.5565 GB, free: 328 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.203e-05/0.004487, allocations: 12.89 kB / 0.5566 GB, free: 316 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.004603, allocations: 133.1 kB / 0.5567 GB, free: 160 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.004621, allocations: 4.375 kB / 0.5567 GB, free: 156 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.004636, allocations: 4.375 kB / 0.5567 GB, free: 152 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000273/0.004909, allocations: 113.9 kB / 0.5568 GB, free: 32 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.004917, allocations: 0 / 0.5568 GB, free: 32 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.00493, allocations: 0 / 0.5568 GB, free: 32 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.004936, allocations: 4 kB / 0.5568 GB, free: 28 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003133/0.005249, allocations: 103.9 kB / 0.5569 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004895/0.005738, allocations: 299.7 kB / 0.5572 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004967/0.006235, allocations: 110.6 kB / 0.5573 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.006388, allocations: 56.81 kB / 0.5573 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.006405, allocations: 0 / 0.5573 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.006428, allocations: 38.5 kB / 0.5574 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.006429, allocations: 4 kB / 0.5574 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.000556/0.006985, allocations: 177.5 kB / 0.5576 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.00702, allocations: 55.41 kB / 0.5576 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.049e-05/0.007111, allocations: 125.8 kB / 0.5577 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.007126, allocations: 29.64 kB / 0.5578 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.861e-05/0.007174, allocations: 100.1 kB / 0.5579 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.0072, allocations: 19.8 kB / 0.5579 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.101e-05/0.007251, allocations: 25.7 kB / 0.5579 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.905e-05/0.00735, allocations: 322.8 kB / 0.5582 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.007495, allocations: 43.95 kB / 0.5582 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.007639, allocations: 51.89 kB / 0.5583 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002762/0.007915, allocations: 96.78 kB / 0.5584 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.007917, allocations: 0 / 0.5584 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003374/0.008254, allocations: 138 kB / 0.5585 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.008268, allocations: 5.875 kB / 0.5585 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.008273, allocations: 0 / 0.5585 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.008288, allocations: 4 kB / 0.5585 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.008412, allocations: 23.97 kB / 0.5585 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.008416, allocations: 0 / 0.5585 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.909e-05/0.008495, allocations: 11.98 kB / 0.5586 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.008513, allocations: 15.94 kB / 0.5586 GB, free: 14.08 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,add1.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 7.698e-05/0.00859, allocations: 113.8 kB / 0.5587 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/0.008619, allocations: 3.953 kB / 0.5587 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.259e-05/0.008641, allocations: 12.44 kB / 0.5587 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.008644, allocations: 0 / 0.5587 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.008648, allocations: 4 kB / 0.5587 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.00865, allocations: 0 / 0.5587 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.00884, allocations: 168.6 kB / 0.5589 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.008842, allocations: 0 / 0.5589 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.008949, allocations: 23.97 kB / 0.5589 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.008951, allocations: 0 / 0.5589 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.008962, allocations: 4 kB / 0.5589 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.008967, allocations: 7.984 kB / 0.5589 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.008968, allocations: 0 / 0.5589 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003746/0.009342, allocations: 239.3 kB / 0.5591 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.661e-05/0.009359, allocations: 15.89 kB / 0.5591 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.009375, allocations: 0 / 0.5591 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.00949, allocations: 19.91 kB / 0.5592 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.3e-05/0.009563, allocations: 19.97 kB / 0.5592 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.009572, allocations: 4 kB / 0.5592 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.062e-05/0.009623, allocations: 91.27 kB / 0.5593 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/0.009623, allocations: 0 / 0.5593 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002838/0.009907, allocations: 23.94 kB / 0.5593 GB, free: 13.28 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 (add1.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.0006225/0.01053, allocations: 0.767 MB / 0.56 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003424/0.01087, allocations: 103.9 kB / 0.5601 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.01087, allocations: 0 / 0.5601 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001695/0.01104, allocations: 67.83 kB / 0.5602 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.01136, allocations: 8 kB / 0.5602 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/0.0132, allocations: 1.533 MB / 0.5617 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.272e-05/0.01326, allocations: 75.33 kB / 0.5618 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.636e-05/0.01333, allocations: 15.98 kB / 0.5618 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.01344, allocations: 32.47 kB / 0.5618 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of SimCode: time 6.81e-07/0.01344, allocations: 4 kB / 0.5618 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01463/0.02806, allocations: 3.462 MB / 0.5652 GB, free: 7.238 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.714/6.742, allocations: 14.14 kB / 0.5652 GB, free: 7.23 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Add_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Add.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.145570061169565] Failed to read output from testmodel.py, exit status != 0: 6.832661655731499 6.842396232 6.836744246 Calling exit ...