Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7657/0.7657, allocations: 143.4 MB / 158.3 MB, free: 5.758 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 180.2 kB / 191.5 MB, free: 5.762 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.695/1.695, allocations: 223.2 MB / 447.7 MB, free: 4.727 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.00116/0.00116, allocations: 92.27 kB / 0.5187 GB, free: 1.086 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001869/0.001869, allocations: 274.8 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004345/0.0004345, allocations: 10.53 kB / 0.6929 GB, free: 59.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1589, allocations: 82.79 MB / 0.7738 GB, free: 13.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7459/0.9048, allocations: 322 MB / 1.088 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004172/0.9054, allocations: 75.95 kB / 1.088 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.02193/0.9273, allocations: 8.306 MB / 1.096 GB, free: 8.66 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.773e-06/0.9274, allocations: 0 / 1.096 GB, free: 8.66 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.82e-06/0.9274, allocations: 0 / 1.096 GB, free: 8.66 MB / 0.6667 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.0004367/0.9278, allocations: 363.1 kB / 1.097 GB, free: 8.262 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.9279, allocations: 8.031 kB / 1.097 GB, free: 8.254 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.136e-05/0.928, allocations: 38.5 kB / 1.097 GB, free: 8.211 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000229/0.9282, allocations: 12.77 kB / 1.097 GB, free: 8.199 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.9283, allocations: 167 kB / 1.097 GB, free: 7.996 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.9284, allocations: 0 / 1.097 GB, free: 7.996 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.9284, allocations: 14.97 kB / 1.097 GB, free: 7.984 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.9286, allocations: 71.38 kB / 1.097 GB, free: 7.906 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.9286, allocations: 4.5 kB / 1.097 GB, free: 7.902 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.9286, allocations: 0 / 1.097 GB, free: 7.902 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.9286, allocations: 0 / 1.097 GB, free: 7.902 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.597e-05/0.9287, allocations: 19.8 kB / 1.097 GB, free: 7.887 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006873/0.9294, allocations: 470.1 kB / 1.098 GB, free: 7.375 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.9296, allocations: 70.88 kB / 1.098 GB, free: 7.281 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.9296, allocations: 8.062 kB / 1.098 GB, free: 7.273 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.9296, allocations: 39 kB / 1.098 GB, free: 7.23 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.9296, allocations: 0 / 1.098 GB, free: 7.23 MB / 0.6667 GB Notification: Performance of matching and sorting (n=7): time 0.0006931/0.9303, allocations: 303.1 kB / 1.098 GB, free: 6.902 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.199e-05/0.9304, allocations: 106.8 kB / 1.098 GB, free: 6.773 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.627e-05/0.9305, allocations: 88.5 kB / 1.098 GB, free: 6.684 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.9305, allocations: 33.95 kB / 1.098 GB, free: 6.645 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 4.982e-05/0.9306, allocations: 87.86 kB / 1.098 GB, free: 6.559 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.9306, allocations: 30.88 kB / 1.098 GB, free: 6.531 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-06/0.9306, allocations: 0 / 1.098 GB, free: 6.531 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.9308, allocations: 318.4 kB / 1.099 GB, free: 6.215 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.24e-05/0.9308, allocations: 15.55 kB / 1.099 GB, free: 6.203 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.361e-05/0.9309, allocations: 56.58 kB / 1.099 GB, free: 6.133 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.495e-05/0.9309, allocations: 23.25 kB / 1.099 GB, free: 6.117 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.9309, allocations: 0 / 1.099 GB, free: 6.117 MB / 0.6667 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001514/0.9311, allocations: 95.27 kB / 1.099 GB, free: 6.031 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.9311, allocations: 5.406 kB / 1.099 GB, free: 6.027 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.9311, allocations: 7.984 kB / 1.099 GB, free: 6.02 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.9311, allocations: 4.188 kB / 1.099 GB, free: 6.016 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.657e-05/0.9312, allocations: 31.92 kB / 1.099 GB, free: 5.984 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.9313, allocations: 0 / 1.099 GB, free: 5.984 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.696e-05/0.9313, allocations: 7.5 kB / 1.099 GB, free: 5.98 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.9313, allocations: 7.938 kB / 1.099 GB, free: 5.973 MB / 0.6667 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 () * 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 9.95e-05/0.9314, allocations: 113.7 kB / 1.099 GB, free: 5.855 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.492e-05/0.9315, allocations: 4 kB / 1.099 GB, free: 5.852 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.276e-05/0.9315, allocations: 11.19 kB / 1.099 GB, free: 5.844 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.9316, allocations: 3.984 kB / 1.099 GB, free: 5.84 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.9316, allocations: 4 kB / 1.099 GB, free: 5.836 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.9316, allocations: 0.6094 kB / 1.099 GB, free: 5.836 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003759/0.932, allocations: 184.5 kB / 1.099 GB, free: 5.613 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-06/0.932, allocations: 0 / 1.099 GB, free: 5.613 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.863e-05/0.9321, allocations: 15.94 kB / 1.099 GB, free: 5.598 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.9321, allocations: 4 kB / 1.099 GB, free: 5.594 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.9321, allocations: 0 / 1.099 GB, free: 5.594 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.9321, allocations: 0 / 1.099 GB, free: 5.594 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.9321, allocations: 3.984 kB / 1.099 GB, free: 5.59 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/0.9324, allocations: 354.5 kB / 1.1 GB, free: 5.234 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 7.954e-05/0.9325, allocations: 89.05 kB / 1.1 GB, free: 5.129 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.9325, allocations: 3.938 kB / 1.1 GB, free: 5.125 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.9327, allocations: 11.19 kB / 1.1 GB, free: 5.117 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.75e-05/0.9328, allocations: 15.94 kB / 1.1 GB, free: 5.102 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.9328, allocations: 0 / 1.1 GB, free: 5.102 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 3.919e-05/0.9328, allocations: 82.72 kB / 1.1 GB, free: 5.023 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9328, allocations: 0 / 1.1 GB, free: 5.023 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003166/0.9332, allocations: 12 kB / 1.1 GB, free: 5.012 MB / 0.6667 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 () * 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.0006413/0.9338, allocations: 1.027 MB / 1.101 GB, free: 3.965 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001361/0.934, allocations: 47.7 kB / 1.101 GB, free: 3.926 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.934, allocations: 0 / 1.101 GB, free: 3.926 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 3.117e-05/0.934, allocations: 23.19 kB / 1.101 GB, free: 3.906 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.9343, allocations: 8.312 kB / 1.101 GB, free: 3.902 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.9358, allocations: 1.437 MB / 1.102 GB, free: 2.422 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.9361, allocations: 0.6926 MB / 1.103 GB, free: 1.703 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 5.97e-05/0.9362, allocations: 4 kB / 1.103 GB, free: 1.699 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.844e-05/0.9363, allocations: 15.19 kB / 1.103 GB, free: 1.691 MB / 0.6667 GB Notification: Performance of SimCode: time 4.2e-07/0.9363, allocations: 4 kB / 1.103 GB, free: 1.688 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01578/0.9521, allocations: 1.478 MB / 1.104 GB, free: 432 kB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003041/0.9524, allocations: 224 kB / 1.105 GB, free: 192 kB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/2.658, allocations: 0 / 1.105 GB, free: 192 kB / 0.6667 GB (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)