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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9362/0.9362, allocations: 133.6 MB / 141.6 MB, free: 2.887 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 221.5 MB / 395.4 MB, free: 10.76 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009258/0.0009258, allocations: 106.2 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.407e-05/2.414e-05, allocations: 4 kB / 0.5536 GB, free: 8.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4841/0.4842, allocations: 82.3 MB / 0.6339 GB, free: 40.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8194/1.304, allocations: 324 MB / 0.9503 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/1.304, allocations: 79.2 kB / 0.9504 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02054/1.324, allocations: 8.232 MB / 0.9584 GB, free: 5.102 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.633e-06/1.325, allocations: 0 / 0.9584 GB, free: 5.102 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.822e-06/1.325, allocations: 0 / 0.9584 GB, free: 5.102 MB / 0.5886 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.0004469/1.325, allocations: 345.8 kB / 0.9587 GB, free: 4.723 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.805e-05/1.325, allocations: 8.031 kB / 0.9588 GB, free: 4.715 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002431/1.325, allocations: 19.89 kB / 0.9588 GB, free: 4.695 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/1.326, allocations: 163 kB / 0.9589 GB, free: 4.496 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/1.326, allocations: 4 kB / 0.9589 GB, free: 4.492 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.323e-05/1.326, allocations: 4 kB / 0.9589 GB, free: 4.488 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.047e-05/1.326, allocations: 11.55 kB / 0.959 GB, free: 4.48 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/1.326, allocations: 64.14 kB / 0.959 GB, free: 4.406 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/1.326, allocations: 0 / 0.959 GB, free: 4.406 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/1.326, allocations: 0 / 0.959 GB, free: 4.406 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/1.326, allocations: 4 kB / 0.959 GB, free: 4.402 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007405/1.327, allocations: 450.7 kB / 0.9594 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/1.327, allocations: 67.48 kB / 0.9595 GB, free: 3.828 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.668e-05/1.327, allocations: 22.39 kB / 0.9595 GB, free: 3.801 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/1.327, allocations: 4 kB / 0.9595 GB, free: 3.797 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.962e-05/1.327, allocations: 38.58 kB / 0.9596 GB, free: 3.75 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 1.684e-06/1.327, allocations: 0 / 0.9596 GB, free: 3.75 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0006915/1.328, allocations: 280.7 kB / 0.9598 GB, free: 3.438 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.619e-05/1.328, allocations: 106.8 kB / 0.9599 GB, free: 3.309 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/1.328, allocations: 92.98 kB / 0.96 GB, free: 3.211 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/1.328, allocations: 25.7 kB / 0.9601 GB, free: 3.18 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.023e-05/1.328, allocations: 91.73 kB / 0.9601 GB, free: 3.09 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/1.328, allocations: 31.3 kB / 0.9602 GB, free: 3.062 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-06/1.328, allocations: 4.062 kB / 0.9602 GB, free: 3.059 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000153/1.328, allocations: 318.8 kB / 0.9605 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.559e-05/1.328, allocations: 7.625 kB / 0.9605 GB, free: 2.734 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.433e-05/1.328, allocations: 52.59 kB / 0.9605 GB, free: 2.672 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.047e-05/1.328, allocations: 19.67 kB / 0.9606 GB, free: 2.656 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/1.328, allocations: 0 / 0.9606 GB, free: 2.656 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000137/1.328, allocations: 89.2 kB / 0.9606 GB, free: 2.57 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/1.328, allocations: 4.781 kB / 0.9606 GB, free: 2.566 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/1.328, allocations: 0 / 0.9606 GB, free: 2.566 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/1.328, allocations: 4 kB / 0.9606 GB, free: 2.562 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.526e-05/1.329, allocations: 19.98 kB / 0.9607 GB, free: 2.543 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/1.329, allocations: 4 kB / 0.9607 GB, free: 2.539 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.178e-05/1.329, allocations: 4.125 kB / 0.9607 GB, free: 2.535 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/1.329, allocations: 4 kB / 0.9607 GB, free: 2.531 MB / 0.5886 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 () * 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.0001033/1.329, allocations: 108.9 kB / 0.9608 GB, free: 2.418 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001515/1.329, allocations: 65.34 kB / 0.9608 GB, free: 2.352 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.621e-05/1.329, allocations: 3.562 kB / 0.9608 GB, free: 2.352 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.93e-05/1.329, allocations: 8.188 kB / 0.9609 GB, free: 2.344 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/1.329, allocations: 0 / 0.9609 GB, free: 2.344 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/1.329, allocations: 0 / 0.9609 GB, free: 2.344 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/1.329, allocations: 16 kB / 0.9609 GB, free: 2.328 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003458/1.329, allocations: 145.4 kB / 0.961 GB, free: 2.156 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/1.329, allocations: 4 kB / 0.961 GB, free: 2.152 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.007e-05/1.33, allocations: 15.98 kB / 0.961 GB, free: 2.137 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/1.33, allocations: 0 / 0.961 GB, free: 2.137 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/1.33, allocations: 4 kB / 0.961 GB, free: 2.133 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/1.33, allocations: 3.938 kB / 0.961 GB, free: 2.129 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.33, allocations: 0 / 0.961 GB, free: 2.129 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003068/1.33, allocations: 352.2 kB / 0.9614 GB, free: 1.766 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.988e-05/1.33, allocations: 84.73 kB / 0.9615 GB, free: 1.668 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/1.33, allocations: 4 kB / 0.9615 GB, free: 1.664 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/1.33, allocations: 8.031 kB / 0.9615 GB, free: 1.656 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.258e-05/1.33, allocations: 7.953 kB / 0.9615 GB, free: 1.648 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/1.33, allocations: 4 kB / 0.9615 GB, free: 1.645 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.178e-05/1.33, allocations: 79.28 kB / 0.9616 GB, free: 1.566 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/1.33, allocations: 0 / 0.9616 GB, free: 1.566 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003292/1.331, allocations: 12 kB / 0.9616 GB, free: 1.555 MB / 0.5886 GB 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 () * 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.0007156/1.331, allocations: 1.029 MB / 0.9626 GB, free: 0.5078 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001172/1.331, allocations: 43.03 kB / 0.9626 GB, free: 484 kB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/1.331, allocations: 0 / 0.9626 GB, free: 484 kB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.204e-05/1.332, allocations: 15.94 kB / 0.9626 GB, free: 468 kB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/1.332, allocations: 4.375 kB / 0.9626 GB, free: 464 kB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008101/1.333, allocations: 315.8 kB / 0.9629 GB, free: 116 kB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/1.333, allocations: 0.6893 MB / 0.9636 GB, free: 15.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.907e-05/1.333, allocations: 11.98 kB / 0.9636 GB, free: 15.39 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.255e-05/1.333, allocations: 15.12 kB / 0.9636 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/1.333, allocations: 0 / 0.9636 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02395/1.357, allocations: 1.089 MB / 0.9647 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004149/1.358, allocations: 172 kB / 0.9649 GB, free: 14.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.729/3.086, allocations: 0 / 0.9649 GB, free: 14.1 MB / 0.6042 GB (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)