Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001403, allocations: 99.7 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.128/2.128, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.19/1.19, allocations: 132.2 MB / 423.2 MB, free: 2.207 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004617/0.0004619, allocations: 8 kB / 0.5033 GB, free: 4.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.869/0.8695, allocations: 81.58 MB / 0.583 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002042/0.8716, allocations: 0.9677 MB / 0.5839 GB, free: 3.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00325/0.8749, allocations: 1.887 MB / 0.5858 GB, free: 1.988 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.996e-05/0.875, allocations: 1.125 kB / 0.5858 GB, free: 1.988 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.113e-05/0.8751, allocations: 0.7031 kB / 0.5858 GB, free: 1.988 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.92e-05/0.8752, allocations: 17.64 kB / 0.5858 GB, free: 1.973 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007605/0.8759, allocations: 102.9 kB / 0.5859 GB, free: 1.918 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.959e-05/0.876, allocations: 26.69 kB / 0.5859 GB, free: 1.906 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.857e-05/0.8761, allocations: 1.797 kB / 0.5859 GB, free: 1.906 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.363e-05/0.8762, allocations: 20.38 kB / 0.5859 GB, free: 1.898 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.862e-05/0.8763, allocations: 17.14 kB / 0.5859 GB, free: 1.891 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.8763, allocations: 1.812 kB / 0.5859 GB, free: 1.891 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004633/0.8768, allocations: 108.3 kB / 0.586 GB, free: 1.863 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.306e-05/0.8768, allocations: 19.75 kB / 0.5861 GB, free: 1.848 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.738e-05/0.8768, allocations: 30.14 kB / 0.5861 GB, free: 1.816 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.8771, allocations: 46.3 kB / 0.5861 GB, free: 1.805 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.8771, allocations: 0 / 0.5861 GB, free: 1.805 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.8771, allocations: 1.438 kB / 0.5861 GB, free: 1.805 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.8771, allocations: 0 / 0.5861 GB, free: 1.805 MB / 430.1 MB 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.0003965/0.8775, allocations: 340.4 kB / 0.5865 GB, free: 1.441 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/0.8776, allocations: 9.594 kB / 0.5865 GB, free: 1.441 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.221e-05/0.8776, allocations: 41.25 kB / 0.5865 GB, free: 1.395 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002689/0.8779, allocations: 15.22 kB / 0.5865 GB, free: 1.391 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.878, allocations: 162.2 kB / 0.5867 GB, free: 1.195 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.878, allocations: 4.969 kB / 0.5867 GB, free: 1.191 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.176e-05/0.8781, allocations: 4.25 kB / 0.5867 GB, free: 1.191 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.8782, allocations: 71.11 kB / 0.5868 GB, free: 1.125 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.8782, allocations: 0 / 0.5868 GB, free: 1.125 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.8783, allocations: 6.125 kB / 0.5868 GB, free: 1.121 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.8783, allocations: 1.281 kB / 0.5868 GB, free: 1.121 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.232e-05/0.8783, allocations: 24.03 kB / 0.5868 GB, free: 1.105 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006174/0.879, allocations: 467.1 kB / 0.5872 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.8791, allocations: 77.91 kB / 0.5873 GB, free: 0.543 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.8791, allocations: 1 kB / 0.5873 GB, free: 0.543 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.8792, allocations: 37.97 kB / 0.5873 GB, free: 0.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.8792, allocations: 0 / 0.5873 GB, free: 0.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007153/0.8799, allocations: 308.8 kB / 0.5876 GB, free: 216 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.88, allocations: 108.7 kB / 0.5877 GB, free: 84 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.8801, allocations: 100.1 kB / 0.5878 GB, free: 15.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.8801, allocations: 27.83 kB / 0.5879 GB, free: 15.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.871e-05/0.8802, allocations: 81.69 kB / 0.5879 GB, free: 15.87 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/0.8802, allocations: 29.31 kB / 0.588 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.187e-06/0.8803, allocations: 8.688 kB / 0.588 GB, free: 15.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.8804, allocations: 314.5 kB / 0.5883 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.021e-05/0.8805, allocations: 12.59 kB / 0.5883 GB, free: 15.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.839e-05/0.8806, allocations: 48 kB / 0.5883 GB, free: 15.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.357e-05/0.8806, allocations: 27.95 kB / 0.5884 GB, free: 15.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.8806, allocations: 5.094 kB / 0.5884 GB, free: 15.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000191/0.8808, allocations: 93.31 kB / 0.5885 GB, free: 15.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.8809, allocations: 5.75 kB / 0.5885 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.8809, allocations: 5.469 kB / 0.5885 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.8809, allocations: 3 kB / 0.5885 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.881, allocations: 23.16 kB / 0.5885 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.8811, allocations: 2.828 kB / 0.5885 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.244e-05/0.8811, allocations: 4.969 kB / 0.5885 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.8811, allocations: 4.312 kB / 0.5885 GB, free: 15.38 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001228/0.8813, allocations: 120 kB / 0.5886 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.456e-05/0.8813, allocations: 3.672 kB / 0.5886 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.639e-05/0.8814, allocations: 10.03 kB / 0.5886 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.8814, allocations: 5.141 kB / 0.5886 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.8814, allocations: 5.891 kB / 0.5886 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.8814, allocations: 2.156 kB / 0.5886 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004423/0.8819, allocations: 186 kB / 0.5888 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.8819, allocations: 0.7031 kB / 0.5888 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.775e-05/0.882, allocations: 15.72 kB / 0.5888 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.882, allocations: 1.031 kB / 0.5888 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.882, allocations: 2.344 kB / 0.5888 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.882, allocations: 5.906 kB / 0.5888 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.8821, allocations: 3.953 kB / 0.5888 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004051/0.8825, allocations: 355.4 kB / 0.5892 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.8826, allocations: 86.47 kB / 0.5893 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.8826, allocations: 1.656 kB / 0.5893 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.8828, allocations: 8.484 kB / 0.5893 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.977e-05/0.8828, allocations: 4.125 kB / 0.5893 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.8829, allocations: 3.094 kB / 0.5893 GB, free: 14.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.084e-05/0.8829, allocations: 86.94 kB / 0.5894 GB, free: 14.51 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.51e-07/0.8829, allocations: 0 / 0.5894 GB, free: 14.51 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003538/0.8833, allocations: 11.34 kB / 0.5894 GB, free: 14.51 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (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.0009367/0.8842, allocations: 1.03 MB / 0.5904 GB, free: 13.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001944/0.8844, allocations: 46.67 kB / 0.5904 GB, free: 13.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.8845, allocations: 0.7188 kB / 0.5904 GB, free: 13.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.068e-05/0.8845, allocations: 14.09 kB / 0.5904 GB, free: 13.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.8849, allocations: 12.94 kB / 0.5905 GB, free: 13.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.8869, allocations: 1.445 MB / 0.5919 GB, free: 12.13 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004307/0.8874, allocations: 0.6866 MB / 0.5925 GB, free: 11.44 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.8875, allocations: 9.75 kB / 0.5925 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.366e-05/0.8876, allocations: 16.14 kB / 0.5926 GB, free: 11.42 MB / 446.1 MB Notification: Performance of SimCode: time 1.373e-06/0.8876, allocations: 0 / 0.5926 GB, free: 11.42 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01618/0.9038, allocations: 1.443 MB / 0.594 GB, free: 11.29 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002352/0.9041, allocations: 206.5 kB / 0.5942 GB, free: 11.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.602/3.506, allocations: 0 / 0.5942 GB, free: 11.05 MB / 446.1 MB (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: