Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.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.0008978/0.0008978, allocations: 76.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.0011/0.0011, allocations: 170.3 kB / 23.21 MB, free: 1.355 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.9646/0.9646, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.5742/0.5742, allocations: 114 MB / 373.9 MB, free: 8.715 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.Media.Examples.WaterDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.WaterDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.5541 GB, free: 2.84 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.037e-05/1.169e-05, allocations: 6.281 kB / 0.5542 GB, free: 2.832 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterDerivativeCheck): time 0.001518/0.001529, allocations: 1.264 MB / 0.5554 GB, free: 1.562 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002571/0.0041, allocations: 3.067 MB / 0.5584 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.922e-05/0.004129, allocations: 4 kB / 0.5584 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.647e-05/0.004146, allocations: 0 / 0.5584 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 4.542e-05/0.004191, allocations: 3.938 kB / 0.5584 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004637/0.004655, allocations: 115.3 kB / 0.5585 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 6.239e-05/0.004717, allocations: 31.91 kB / 0.5585 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 3.164e-05/0.004749, allocations: 7.984 kB / 0.5585 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 4.882e-05/0.004798, allocations: 27.92 kB / 0.5586 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 5.3e-05/0.004851, allocations: 11.97 kB / 0.5586 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.004864, allocations: 4 kB / 0.5586 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00016/0.005024, allocations: 71.69 kB / 0.5586 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.311e-05/0.005037, allocations: 7.984 kB / 0.5587 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 1.886e-05/0.005056, allocations: 8 kB / 0.5587 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.0052, allocations: 75.78 kB / 0.5587 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.005202, allocations: 0 / 0.5587 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of FrontEnd: time 8.82e-07/0.005203, allocations: 0 / 0.5587 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.005207, allocations: 0 / 0.5587 GB, free: 14.12 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003082/0.005515, allocations: 274.3 kB / 0.559 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.005555, allocations: 12.62 kB / 0.559 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.882e-05/0.005584, allocations: 30.75 kB / 0.559 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.157e-05/0.005656, allocations: 8.891 kB / 0.559 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.507e-05/0.005731, allocations: 117.7 kB / 0.5592 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.005741, allocations: 8.375 kB / 0.5592 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.005763, allocations: 4.375 kB / 0.5592 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.00589, allocations: 135.3 kB / 0.5593 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.005899, allocations: 8.172 kB / 0.5593 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.005908, allocations: 3.938 kB / 0.5593 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.005912, allocations: 4 kB / 0.5593 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.11e-05/0.005954, allocations: 19.98 kB / 0.5593 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001264/0.00608, allocations: 132.7 kB / 0.5595 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.61e-05/0.006166, allocations: 46.56 kB / 0.5595 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.466e-05/0.006191, allocations: 20.8 kB / 0.5595 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004216/0.006612, allocations: 246.1 kB / 0.5598 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.006633, allocations: 38.56 kB / 0.5598 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.006634, allocations: 0 / 0.5598 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0004169/0.007051, allocations: 221.2 kB / 0.56 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.007084, allocations: 55.41 kB / 0.5601 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.458e-05/0.007138, allocations: 109.8 kB / 0.5602 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.007149, allocations: 25.7 kB / 0.5602 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.491e-05/0.007184, allocations: 84.09 kB / 0.5603 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.415e-05/0.007198, allocations: 23.8 kB / 0.5603 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/0.007231, allocations: 33.66 kB / 0.5603 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.453e-05/0.007305, allocations: 314.8 kB / 0.5606 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.858e-05/0.007324, allocations: 15.98 kB / 0.5606 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.128e-05/0.007365, allocations: 61.08 kB / 0.5607 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.265e-05/0.007428, allocations: 69.09 kB / 0.5608 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.00743, allocations: 4 kB / 0.5608 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.694e-05/0.007527, allocations: 89.55 kB / 0.5609 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.007539, allocations: 4 kB / 0.5609 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.007547, allocations: 4 kB / 0.5609 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.00756, allocations: 0 / 0.5609 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.091e-05/0.007611, allocations: 28.05 kB / 0.5609 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.007619, allocations: 12.02 kB / 0.5609 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.018e-05/0.007639, allocations: 0 / 0.5609 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.007647, allocations: 7.984 kB / 0.5609 GB, free: 11.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.626e-05/0.007703, allocations: 117.8 kB / 0.561 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.577e-05/0.007719, allocations: 7.953 kB / 0.561 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.649e-05/0.007745, allocations: 12.11 kB / 0.561 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.007747, allocations: 0 / 0.561 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.00775, allocations: 0 / 0.561 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.007753, allocations: 4 kB / 0.561 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.007903, allocations: 149.2 kB / 0.5612 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.007903, allocations: 7.938 kB / 0.5612 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.708e-05/0.007951, allocations: 23.92 kB / 0.5612 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.007952, allocations: 0 / 0.5612 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.363e-06/0.00796, allocations: 0 / 0.5612 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.007962, allocations: 4 kB / 0.5612 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.007963, allocations: 0 / 0.5612 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.008098, allocations: 167.5 kB / 0.5614 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.032e-05/0.008119, allocations: 7.953 kB / 0.5614 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.458e-06/0.008128, allocations: 0 / 0.5614 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.745e-05/0.008186, allocations: 12.03 kB / 0.5614 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.234e-05/0.008198, allocations: 4 kB / 0.5614 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.008203, allocations: 4 kB / 0.5614 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.423e-05/0.008228, allocations: 79.66 kB / 0.5615 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.008228, allocations: 0 / 0.5615 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001591/0.008387, allocations: 12 kB / 0.5615 GB, free: 10.92 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * 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.0002917/0.008678, allocations: 0.7125 MB / 0.5622 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 8.811e-05/0.008767, allocations: 39.92 kB / 0.5622 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.008768, allocations: 256 / 0.5622 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.452e-05/0.008782, allocations: 19.94 kB / 0.5622 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.008988, allocations: 8 kB / 0.5623 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009755/0.009963, allocations: 1.464 MB / 0.5637 GB, free: 8.539 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.695e-05/0.01001, allocations: 71.33 kB / 0.5638 GB, free: 8.449 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.356e-05/0.01004, allocations: 15.92 kB / 0.5638 GB, free: 8.434 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.333e-05/0.01008, allocations: 16.5 kB / 0.5638 GB, free: 8.418 MB / 0.5261 GB Notification: Performance of SimCode: time 7.41e-07/0.01008, allocations: 0 / 0.5638 GB, free: 8.418 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01912/0.02919, allocations: 2.319 MB / 0.566 GB, free: 6.25 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.187/7.216, allocations: 14.17 kB / 0.5661 GB, free: 6.242 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.875881428830326] Failed to read output from testmodel.py, exit status != 0: 7.2974573243409395 7.309316418 7.302222362 Calling exit ...