Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.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.0007851/0.0007851, 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.0008289/0.0008289, 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.9022/0.9022, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.5723/0.5723, allocations: 114 MB / 373.9 MB, free: 8.688 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.Reals.Validation.Derivative,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.504e-06/2.504e-06, allocations: 0 / 0.5543 GB, free: 1.617 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.823e-05/2.073e-05, allocations: 2.281 kB / 0.5543 GB, free: 1.613 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001552/0.001573, allocations: 0.9849 MB / 0.5552 GB, free: 0.6289 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.002935, allocations: 1.034 MB / 0.5562 GB, free: 15.58 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.003037, allocations: 3.938 kB / 0.5562 GB, free: 15.58 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.003159, allocations: 19.8 kB / 0.5563 GB, free: 15.56 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.947e-05/0.003218, allocations: 23.69 kB / 0.5563 GB, free: 15.54 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003001/0.003518, allocations: 79.78 kB / 0.5564 GB, free: 15.46 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.00368, allocations: 176.1 kB / 0.5565 GB, free: 15.29 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.003817, allocations: 60.5 kB / 0.5566 GB, free: 15.22 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.003938, allocations: 103.8 kB / 0.5567 GB, free: 15.12 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.621e-05/0.004015, allocations: 55.8 kB / 0.5567 GB, free: 15.07 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.004039, allocations: 16 kB / 0.5567 GB, free: 15.05 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.913e-05/0.004088, allocations: 20 kB / 0.5568 GB, free: 15.03 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.556e-05/0.004123, allocations: 35.89 kB / 0.5568 GB, free: 15 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.491e-05/0.004168, allocations: 51.83 kB / 0.5569 GB, free: 14.95 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.004384, allocations: 203.3 kB / 0.557 GB, free: 14.75 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.004387, allocations: 3.938 kB / 0.5571 GB, free: 14.74 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.004389, allocations: 0 / 0.5571 GB, free: 14.74 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.004393, allocations: 0 / 0.5571 GB, free: 14.74 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005926/0.004986, allocations: 422.4 kB / 0.5575 GB, free: 14.29 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.005029, allocations: 8.031 kB / 0.5575 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.234e-05/0.005072, allocations: 50.73 kB / 0.5575 GB, free: 14.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.892e-05/0.005161, allocations: 24.84 kB / 0.5575 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002502/0.005411, allocations: 173.9 kB / 0.5577 GB, free: 14.01 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.005427, allocations: 12.38 kB / 0.5577 GB, free: 14 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.005454, allocations: 16.38 kB / 0.5577 GB, free: 13.98 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.005704, allocations: 175.9 kB / 0.5579 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.005712, allocations: 192 / 0.5579 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.005728, allocations: 7.938 kB / 0.5579 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.005734, allocations: 4 kB / 0.5579 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.005902, allocations: 111.9 kB / 0.558 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007303/0.006633, allocations: 487.1 kB / 0.5585 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002822/0.006915, allocations: 129.6 kB / 0.5586 GB, free: 13.02 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.007019, allocations: 92.69 kB / 0.5587 GB, free: 12.93 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.007048, allocations: 3.906 kB / 0.5587 GB, free: 12.93 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001757/0.007223, allocations: 149.8 kB / 0.5588 GB, free: 12.76 MB / 490.7 MB Notification: Performance of pre-optimization done (n=19): time 1.653e-06/0.007225, allocations: 0 / 0.5588 GB, free: 12.76 MB / 490.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003514/0.007576, allocations: 218.8 kB / 0.559 GB, free: 12.54 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.007606, allocations: 55.34 kB / 0.5591 GB, free: 12.48 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.007708, allocations: 173.5 kB / 0.5593 GB, free: 12.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.00773, allocations: 33.7 kB / 0.5593 GB, free: 12.26 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.425e-05/0.007784, allocations: 112.5 kB / 0.5594 GB, free: 12.15 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/0.007824, allocations: 67.44 kB / 0.5595 GB, free: 12.08 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.142e-05/0.007876, allocations: 45.56 kB / 0.5595 GB, free: 12.03 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.156e-05/0.007957, allocations: 326.8 kB / 0.5598 GB, free: 11.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.00808, allocations: 63.95 kB / 0.5599 GB, free: 11.64 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.008196, allocations: 89.06 kB / 0.56 GB, free: 11.55 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.008399, allocations: 156 kB / 0.5601 GB, free: 11.39 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.008401, allocations: 0 / 0.5601 GB, free: 11.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002785/0.008679, allocations: 213.9 kB / 0.5603 GB, free: 11.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.008694, allocations: 4 kB / 0.5603 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.008699, allocations: 0 / 0.5603 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.008713, allocations: 8.031 kB / 0.5603 GB, free: 11.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.008817, allocations: 43.91 kB / 0.5604 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.008823, allocations: 0 / 0.5604 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.611e-05/0.008889, allocations: 23.88 kB / 0.5604 GB, free: 11.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.008899, allocations: 8 kB / 0.5604 GB, free: 11.09 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 8.578e-05/0.008985, allocations: 125.8 kB / 0.5605 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.842e-05/0.009003, allocations: 19.84 kB / 0.5605 GB, free: 10.94 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002609/0.009264, allocations: 196 kB / 0.5607 GB, free: 10.75 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.009268, allocations: 4 kB / 0.5607 GB, free: 10.75 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.009273, allocations: 0 / 0.5607 GB, free: 10.75 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.009277, allocations: 3.984 kB / 0.5607 GB, free: 10.74 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005267/0.009804, allocations: 0.5336 MB / 0.5613 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.009807, allocations: 4 kB / 0.5613 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.278e-05/0.0099, allocations: 39.91 kB / 0.5613 GB, free: 10.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.009903, allocations: 4 kB / 0.5613 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.009914, allocations: 4 kB / 0.5613 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.209e-06/0.009919, allocations: 11.92 kB / 0.5613 GB, free: 10.08 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.009921, allocations: 0 / 0.5613 GB, free: 10.08 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003704/0.01029, allocations: 398.9 kB / 0.5617 GB, free: 9.656 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.793e-05/0.01031, allocations: 12 kB / 0.5617 GB, free: 9.645 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.01033, allocations: 15.92 kB / 0.5617 GB, free: 9.629 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.393e-05/0.0104, allocations: 15.97 kB / 0.5617 GB, free: 9.613 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.01045, allocations: 23.95 kB / 0.5618 GB, free: 9.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.01046, allocations: 12 kB / 0.5618 GB, free: 9.578 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.05e-05/0.01052, allocations: 119.2 kB / 0.5619 GB, free: 9.461 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01052, allocations: 0 / 0.5619 GB, free: 9.461 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001857/0.01071, allocations: 31.94 kB / 0.5619 GB, free: 9.43 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der2.x,intWitRes.y,der1.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0007773/0.01149, allocations: 0.9185 MB / 0.5628 GB, free: 8.465 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002651/0.01175, allocations: 146.5 kB / 0.563 GB, free: 8.324 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.01175, allocations: 7.938 kB / 0.563 GB, free: 8.316 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.01186, allocations: 87.89 kB / 0.563 GB, free: 8.23 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.01211, allocations: 24.77 kB / 0.5631 GB, free: 8.207 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.01394, allocations: 2.116 MB / 0.5651 GB, free: 5.973 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.271e-05/0.01402, allocations: 116.2 kB / 0.5652 GB, free: 5.836 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.428e-05/0.01408, allocations: 17.48 kB / 0.5653 GB, free: 5.816 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.95e-05/0.01416, allocations: 56.47 kB / 0.5653 GB, free: 5.758 MB / 490.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01416, allocations: 0 / 0.5653 GB, free: 5.758 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02015/0.03431, allocations: 4.381 MB / 0.5696 GB, free: 1.551 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.994/7.028, allocations: 4.062 kB / 0.5696 GB, free: 1.547 MB / 490.7 MB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Derivative_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-07 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Derivative.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.452052298001945] Failed to read output from testmodel.py, exit status != 0: 7.113923139870167 7.125914628 7.11921888 Calling exit ...