Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.001186/0.001186, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 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.001059/0.001059, allocations: 218.3 kB / 22.25 MB, free: 3.699 MB / 13.93 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 1.031/1.031, allocations: 230.6 MB / 256 MB, free: 9.824 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8592/0.8592, allocations: 203.8 MB / 0.5042 GB, free: 10.73 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009712/0.0009712, allocations: 66.81 kB / 0.7183 GB, free: 4.262 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5924/0.5934, allocations: 102 MB / 0.8179 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005268/0.5987, allocations: 4.173 MB / 0.822 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002333/0.601, allocations: 2.462 MB / 0.8244 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.6011, allocations: 1.062 kB / 0.8244 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003291/0.6015, allocations: 49.47 kB / 0.8244 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003071/0.6018, allocations: 103.3 kB / 0.8245 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.6031, allocations: 0.5452 MB / 0.8251 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003657/0.6035, allocations: 266.9 kB / 0.8253 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.277e-05/0.6036, allocations: 11.84 kB / 0.8253 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002516/0.6038, allocations: 114.5 kB / 0.8254 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.604, allocations: 99.31 kB / 0.8255 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.604, allocations: 8 kB / 0.8255 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009103/0.6049, allocations: 477.9 kB / 0.826 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.427e-05/0.605, allocations: 44.8 kB / 0.826 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.327e-05/0.6051, allocations: 82.81 kB / 0.8261 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006493/0.6058, allocations: 419.5 kB / 0.8265 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.6058, allocations: 4 kB / 0.8265 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6058, allocations: 3.938 kB / 0.8265 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.6058, allocations: 1.375 kB / 0.8265 GB, free: 11.59 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007241/0.6065, allocations: 451.9 kB / 0.827 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.6066, allocations: 8.812 kB / 0.827 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.971e-05/0.6066, allocations: 53.02 kB / 0.827 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.6077, allocations: 190.1 kB / 0.8272 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000341/0.608, allocations: 150.2 kB / 0.8274 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.054e-05/0.6081, allocations: 11.55 kB / 0.8274 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.153e-05/0.6081, allocations: 14.47 kB / 0.8274 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005296/0.6086, allocations: 316.6 kB / 0.8277 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.6086, allocations: 1.094 kB / 0.8277 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.281e-05/0.6087, allocations: 15.5 kB / 0.8277 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.545e-05/0.6087, allocations: 5.625 kB / 0.8277 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004959/0.6092, allocations: 263.6 kB / 0.8279 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001467/0.6106, allocations: 1.348 MB / 0.8293 GB, free: 9.473 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004778/0.6111, allocations: 192 kB / 0.8294 GB, free: 9.398 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.6113, allocations: 68.52 kB / 0.8295 GB, free: 9.375 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.6113, allocations: 7.312 kB / 0.8295 GB, free: 9.371 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.6113, allocations: 41.22 kB / 0.8296 GB, free: 9.324 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.074e-06/0.6113, allocations: 0 / 0.8296 GB, free: 9.324 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0005466/0.6119, allocations: 245.7 kB / 0.8298 GB, free: 9.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.6119, allocations: 58.31 kB / 0.8299 GB, free: 9.164 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.612, allocations: 164 kB / 0.83 GB, free: 9.039 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.6121, allocations: 30.89 kB / 0.83 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.533e-05/0.6121, allocations: 132.9 kB / 0.8302 GB, free: 8.883 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.377e-05/0.6122, allocations: 59.92 kB / 0.8302 GB, free: 8.836 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.272e-05/0.6123, allocations: 53.36 kB / 0.8303 GB, free: 8.797 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.174e-05/0.6124, allocations: 326.4 kB / 0.8306 GB, free: 8.477 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.6125, allocations: 64.73 kB / 0.8306 GB, free: 8.461 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/0.6127, allocations: 143.8 kB / 0.8308 GB, free: 8.348 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003183/0.613, allocations: 228.6 kB / 0.831 GB, free: 8.188 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.613, allocations: 1.594 kB / 0.831 GB, free: 8.188 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003966/0.6134, allocations: 242.8 kB / 0.8312 GB, free: 8.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.6134, allocations: 6.312 kB / 0.8312 GB, free: 8.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.6134, allocations: 3.141 kB / 0.8312 GB, free: 8.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.6134, allocations: 3.906 kB / 0.8312 GB, free: 8.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.6136, allocations: 63.05 kB / 0.8313 GB, free: 8.086 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.6136, allocations: 8.516 kB / 0.8313 GB, free: 8.082 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.6138, allocations: 34.19 kB / 0.8313 GB, free: 8.062 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.6138, allocations: 14.98 kB / 0.8314 GB, free: 8.059 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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 0.0001036/0.6139, allocations: 133.7 kB / 0.8315 GB, free: 7.926 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/0.6139, allocations: 16.95 kB / 0.8315 GB, free: 7.918 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004387/0.6144, allocations: 228.8 kB / 0.8317 GB, free: 7.809 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.6144, allocations: 2.156 kB / 0.8317 GB, free: 7.809 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.6144, allocations: 2.219 kB / 0.8317 GB, free: 7.809 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.6144, allocations: 0.8438 kB / 0.8317 GB, free: 7.809 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.6146, allocations: 222.3 kB / 0.8319 GB, free: 7.605 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.6146, allocations: 0 / 0.8319 GB, free: 7.605 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.6148, allocations: 52.89 kB / 0.832 GB, free: 7.598 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.6148, allocations: 3.938 kB / 0.832 GB, free: 7.594 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.6148, allocations: 6.969 kB / 0.832 GB, free: 7.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.6148, allocations: 2.125 kB / 0.832 GB, free: 7.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.6148, allocations: 0 / 0.832 GB, free: 7.59 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004453/0.6152, allocations: 305.2 kB / 0.8323 GB, free: 7.395 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.258e-05/0.6153, allocations: 28.98 kB / 0.8323 GB, free: 7.383 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.6153, allocations: 5.062 kB / 0.8323 GB, free: 7.379 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.6155, allocations: 21.77 kB / 0.8323 GB, free: 7.371 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.6155, allocations: 10.22 kB / 0.8324 GB, free: 7.371 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.119e-05/0.6155, allocations: 7.984 kB / 0.8324 GB, free: 7.371 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001092/0.6157, allocations: 116.6 kB / 0.8325 GB, free: 7.285 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.6157, allocations: 3.938 kB / 0.8325 GB, free: 7.281 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003626/0.616, allocations: 68.03 kB / 0.8325 GB, free: 7.266 MB / 0.6198 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 (20): * Single equations (assignments): 20 * 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.0008438/0.6169, allocations: 0.8554 MB / 0.8334 GB, free: 6.543 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003975/0.6173, allocations: 182 kB / 0.8336 GB, free: 6.492 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6173, allocations: 0 / 0.8336 GB, free: 6.492 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.6174, allocations: 84.47 kB / 0.8336 GB, free: 6.469 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.6178, allocations: 55.69 kB / 0.8337 GB, free: 6.453 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/0.6202, allocations: 2.158 MB / 0.8358 GB, free: 4.816 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.6205, allocations: 0.7149 MB / 0.8365 GB, free: 4.121 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002263/0.6207, allocations: 50.2 kB / 0.8365 GB, free: 4.094 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.6208, allocations: 52.66 kB / 0.8366 GB, free: 4.062 MB / 0.6198 GB Notification: Performance of SimCode: time 7.12e-07/0.6208, allocations: 0 / 0.8366 GB, free: 4.062 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02445/0.6453, allocations: 5.465 MB / 0.8419 GB, free: 2.332 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.212/7.858, allocations: 9.281 kB / 0.8419 GB, free: 2.324 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.056100718909875] Failed to read output from testmodel.py, exit status != 0: 7.938211667118594 7.953072151 7.344457803 Calling exit ...