Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8562/0.8562, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.707/1.707, allocations: 221.3 MB / 400.4 MB, free: 5.816 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009182/0.0009182, allocations: 105.1 kB / 483.3 MB, free: 5.859 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.701e-05/3.705e-05, allocations: 2.781 kB / 0.5601 GB, free: 87.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2278, allocations: 82.3 MB / 0.6405 GB, free: 7.711 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9896/1.218, allocations: 319.5 MB / 0.9525 GB, free: 1.988 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003656/1.218, allocations: 73.27 kB / 0.9526 GB, free: 1.949 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.0444/1.262, allocations: 16.74 MB / 0.9689 GB, free: 3.867 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.174e-06/1.263, allocations: 4 kB / 0.9689 GB, free: 3.863 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.591e-05/1.263, allocations: 4 kB / 0.969 GB, free: 3.859 MB / 0.6823 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.001073/1.264, allocations: 490.3 kB / 0.9694 GB, free: 3.352 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.311e-05/1.264, allocations: 8.031 kB / 0.9694 GB, free: 3.344 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.109e-05/1.264, allocations: 45.42 kB / 0.9695 GB, free: 3.297 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002059/1.266, allocations: 173.9 kB / 0.9696 GB, free: 3.141 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003567/1.266, allocations: 222.1 kB / 0.9698 GB, free: 2.895 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.202e-05/1.266, allocations: 8.266 kB / 0.9699 GB, free: 2.891 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.034e-05/1.266, allocations: 15.69 kB / 0.9699 GB, free: 2.879 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005316/1.267, allocations: 278 kB / 0.9701 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/1.267, allocations: 4 kB / 0.9701 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.581e-05/1.267, allocations: 3.625 kB / 0.9701 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.87e-05/1.267, allocations: 12 kB / 0.9702 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004254/1.267, allocations: 222.4 kB / 0.9704 GB, free: 2.445 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001805/1.269, allocations: 1.399 MB / 0.9717 GB, free: 1.012 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004085/1.27, allocations: 157.6 kB / 0.9719 GB, free: 0.8867 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/1.27, allocations: 57.36 kB / 0.9719 GB, free: 0.8438 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.831e-05/1.27, allocations: 11.86 kB / 0.9719 GB, free: 0.8359 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/1.27, allocations: 34.5 kB / 0.972 GB, free: 0.793 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 2.004e-06/1.27, allocations: 0 / 0.972 GB, free: 0.793 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.0003864/1.27, allocations: 155.6 kB / 0.9721 GB, free: 0.668 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/1.27, allocations: 59.41 kB / 0.9722 GB, free: 0.5977 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/1.27, allocations: 151.5 kB / 0.9723 GB, free: 472 kB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/1.271, allocations: 25.7 kB / 0.9724 GB, free: 440 kB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.661e-05/1.271, allocations: 125.9 kB / 0.9725 GB, free: 320 kB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.097e-05/1.271, allocations: 58.75 kB / 0.9725 GB, free: 268 kB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.395e-05/1.271, allocations: 3.812 kB / 0.9725 GB, free: 268 kB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.5275/1.798, allocations: 327.3 kB / 0.9728 GB, free: 254.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003127/1.799, allocations: 44.41 kB / 0.9729 GB, free: 254.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/1.799, allocations: 135.7 kB / 0.973 GB, free: 254.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/1.799, allocations: 60.2 kB / 0.9731 GB, free: 254.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/1.799, allocations: 1.219 kB / 0.9731 GB, free: 254.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006508/1.8, allocations: 221.2 kB / 0.9733 GB, free: 254.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.386e-05/1.8, allocations: 6.781 kB / 0.9733 GB, free: 254.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/1.8, allocations: 2.688 kB / 0.9733 GB, free: 254.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.435e-05/1.8, allocations: 4.781 kB / 0.9733 GB, free: 254.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005907/1.8, allocations: 67.66 kB / 0.9734 GB, free: 254.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.673e-05/1.8, allocations: 9.719 kB / 0.9734 GB, free: 254.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003145/1.801, allocations: 35.47 kB / 0.9734 GB, free: 254.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.084e-05/1.801, allocations: 13.12 kB / 0.9734 GB, free: 254.4 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001716/1.801, allocations: 128.5 kB / 0.9735 GB, free: 254.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.628e-05/1.801, allocations: 15.38 kB / 0.9736 GB, free: 254.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007455/1.802, allocations: 192.8 kB / 0.9737 GB, free: 254.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/1.802, allocations: 6.094 kB / 0.9737 GB, free: 254.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/1.802, allocations: 1.438 kB / 0.9738 GB, free: 254.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/1.802, allocations: 1.781 kB / 0.9738 GB, free: 254.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005171/1.802, allocations: 243.7 kB / 0.974 GB, free: 254 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/1.802, allocations: 1.281 kB / 0.974 GB, free: 254 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003718/1.803, allocations: 51.64 kB / 0.974 GB, free: 254 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/1.803, allocations: 0 / 0.974 GB, free: 254 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/1.803, allocations: 5.578 kB / 0.974 GB, free: 254 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.315e-06/1.803, allocations: 5.062 kB / 0.974 GB, free: 254 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/1.803, allocations: 0.6562 kB / 0.974 GB, free: 254 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005386/1.803, allocations: 267 kB / 0.9743 GB, free: 253.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001864/1.804, allocations: 108.5 kB / 0.9744 GB, free: 253.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.883e-05/1.804, allocations: 10.44 kB / 0.9744 GB, free: 253.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003226/1.804, allocations: 26.11 kB / 0.9744 GB, free: 253.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.052e-05/1.804, allocations: 11.5 kB / 0.9745 GB, free: 253.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-05/1.804, allocations: 10.12 kB / 0.9745 GB, free: 253.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001562/1.804, allocations: 112.5 kB / 0.9746 GB, free: 253.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.854e-06/1.804, allocations: 0 / 0.9746 GB, free: 253.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005845/1.805, allocations: 74.19 kB / 0.9746 GB, free: 253.7 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001193/1.806, allocations: 0.8296 MB / 0.9754 GB, free: 253.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006222/1.807, allocations: 161.7 kB / 0.9756 GB, free: 253.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.545e-06/1.807, allocations: 1.906 kB / 0.9756 GB, free: 253.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001779/1.807, allocations: 73.78 kB / 0.9757 GB, free: 253.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005133/1.808, allocations: 51.05 kB / 0.9757 GB, free: 253.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/1.809, allocations: 275 kB / 0.976 GB, free: 252.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000512/1.809, allocations: 0.7193 MB / 0.9767 GB, free: 252.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004643/1.81, allocations: 51.52 kB / 0.9767 GB, free: 252.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/1.81, allocations: 48.7 kB / 0.9768 GB, free: 252.2 MB / 0.6823 GB Notification: Performance of SimCode: time 1.042e-06/1.81, allocations: 2.062 kB / 0.9768 GB, free: 252.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02924/1.839, allocations: 4.681 MB / 0.9814 GB, free: 252 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001924/1.839, allocations: 180.9 kB / 0.9815 GB, free: 251.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.875/3.715, allocations: 1.031 kB / 0.9815 GB, free: 251.7 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)