Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.0008391/0.0008391, 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.001023/0.001023, 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.9044/0.9044, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.5738/0.5738, allocations: 114 MB / 373.9 MB, free: 8.707 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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.5542 GB, free: 2.785 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.17e-05/2.341e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003889/0.003912, allocations: 3.222 MB / 0.5573 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 8.921e-05/0.004001, allocations: 51.8 kB / 0.5574 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.883e-05/0.00403, allocations: 0 / 0.5574 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.004162, allocations: 3.938 kB / 0.5574 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 8.604e-05/0.004248, allocations: 15.92 kB / 0.5574 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006283/0.004876, allocations: 201.5 kB / 0.5576 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 8.978e-05/0.004966, allocations: 39.84 kB / 0.5576 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 3.732e-05/0.005003, allocations: 0 / 0.5576 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 5.241e-05/0.005056, allocations: 19.98 kB / 0.5577 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 8.211e-05/0.005138, allocations: 15.97 kB / 0.5577 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.005152, allocations: 0 / 0.5577 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002899/0.005442, allocations: 135.5 kB / 0.5578 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 5.15e-05/0.005494, allocations: 8 kB / 0.5578 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.113e-05/0.005515, allocations: 4 kB / 0.5578 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.005725, allocations: 135.6 kB / 0.5579 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.005727, allocations: 3.938 kB / 0.5579 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.143e-06/0.005728, allocations: 0 / 0.5579 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.005733, allocations: 0 / 0.5579 GB, free: 14.92 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003426/0.006076, allocations: 266.2 kB / 0.5582 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.006114, allocations: 15.97 kB / 0.5582 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.171e-05/0.006146, allocations: 34.75 kB / 0.5582 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.157e-05/0.006177, allocations: 8.875 kB / 0.5583 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.702e-05/0.006264, allocations: 101.8 kB / 0.5584 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.006393, allocations: 55.97 kB / 0.5584 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.006403, allocations: 4.359 kB / 0.5584 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.006535, allocations: 67.95 kB / 0.5585 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.006545, allocations: 7.938 kB / 0.5585 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.006555, allocations: 0 / 0.5585 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/0.006572, allocations: 0 / 0.5585 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.091e-05/0.006613, allocations: 23.92 kB / 0.5585 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004306/0.007044, allocations: 256 kB / 0.5587 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.911e-05/0.007083, allocations: 22.58 kB / 0.5588 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.436e-05/0.007097, allocations: 4.859 kB / 0.5588 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 6.185e-05/0.007159, allocations: 36.03 kB / 0.5588 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.007185, allocations: 42.5 kB / 0.5589 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.007186, allocations: 0 / 0.5589 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001478/0.007334, allocations: 37.62 kB / 0.5589 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.007373, allocations: 51.53 kB / 0.5589 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.562e-05/0.007449, allocations: 117.8 kB / 0.559 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.007462, allocations: 25.7 kB / 0.5591 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.703e-05/0.007509, allocations: 84.09 kB / 0.5592 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.723e-06/0.007516, allocations: 7.953 kB / 0.5592 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.249e-05/0.007549, allocations: 17.72 kB / 0.5592 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.984e-05/0.007648, allocations: 310.8 kB / 0.5595 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.387e-05/0.007662, allocations: 7.984 kB / 0.5595 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.337e-05/0.007686, allocations: 17.72 kB / 0.5595 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.951e-05/0.007715, allocations: 21.59 kB / 0.5595 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.007717, allocations: 4 kB / 0.5595 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.938e-05/0.007776, allocations: 49.69 kB / 0.5596 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.007794, allocations: 7.938 kB / 0.5596 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.0078, allocations: 3.938 kB / 0.5596 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.007814, allocations: 0 / 0.5596 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.735e-05/0.007862, allocations: 11.98 kB / 0.5596 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.007869, allocations: 0 / 0.5596 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.384e-05/0.007883, allocations: 0 / 0.5596 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.007896, allocations: 4 kB / 0.5596 GB, free: 13.01 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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.711e-05/0.007973, allocations: 117.8 kB / 0.5597 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.533e-05/0.007988, allocations: 7.953 kB / 0.5597 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/0.008104, allocations: 113 kB / 0.5598 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.63e-05/0.00817, allocations: 184.2 kB / 0.56 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-05/0.008226, allocations: 180.3 kB / 0.5602 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-05/0.008281, allocations: 180.2 kB / 0.5603 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.008455, allocations: 376.2 kB / 0.5607 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.222e-05/0.008498, allocations: 113 kB / 0.5608 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.414e-05/0.008532, allocations: 104.9 kB / 0.5609 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.231e-05/0.008584, allocations: 176.3 kB / 0.5611 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.06e-05/0.008645, allocations: 192.2 kB / 0.5613 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-05/0.008693, allocations: 176.3 kB / 0.5614 GB, free: 11 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.094e-05/0.008743, allocations: 176.3 kB / 0.5616 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.008864, allocations: 315.7 kB / 0.5619 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.822e-05/0.008902, allocations: 108.9 kB / 0.562 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.969e-05/0.008962, allocations: 180.3 kB / 0.5622 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.009066, allocations: 105 kB / 0.5623 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.734e-05/0.009134, allocations: 184.2 kB / 0.5625 GB, free: 9.895 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.158e-05/0.009165, allocations: 105 kB / 0.5626 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.571e-05/0.009201, allocations: 83.28 kB / 0.5626 GB, free: 9.703 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.009201, allocations: 7.938 kB / 0.5626 GB, free: 9.695 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002068/0.009408, allocations: 39.86 kB / 0.5627 GB, free: 9.656 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0004355/0.009843, allocations: 0.867 MB / 0.5635 GB, free: 8.758 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 6.502e-05/0.009908, allocations: 11.92 kB / 0.5635 GB, free: 8.746 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.00991, allocations: 0 / 0.5635 GB, free: 8.746 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.863e-06/0.009912, allocations: 3.938 kB / 0.5635 GB, free: 8.742 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.01026, allocations: 465.9 kB / 0.564 GB, free: 8.285 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008568/0.01111, allocations: 1.324 MB / 0.5653 GB, free: 6.871 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.989e-05/0.01115, allocations: 55.36 kB / 0.5653 GB, free: 6.797 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.757e-05/0.01119, allocations: 18.78 kB / 0.5653 GB, free: 6.781 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.055e-05/0.01122, allocations: 8.5 kB / 0.5654 GB, free: 6.773 MB / 0.5261 GB Notification: Performance of SimCode: time 5.71e-07/0.01122, allocations: 0 / 0.5654 GB, free: 6.773 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0174/0.02862, allocations: 2.845 MB / 0.5681 GB, free: 4.148 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.041/7.07, allocations: 2.344 kB / 0.5681 GB, free: 4.148 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.605805218219757] Failed to read output from testmodel.py, exit status != 0: 7.151585782878101 7.164838885 7.157307035 Calling exit ...