Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_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.001078/0.001078, allocations: 179.5 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4617/0.4617, allocations: 90.81 MB / 104.5 MB, free: 9.789 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.233/1.233, allocations: 221.3 MB / 348.3 MB, free: 448 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008506/0.0008503, allocations: 107.5 kB / 421.2 MB, free: 5.492 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.727e-05/2.736e-05, allocations: 4 kB / 0.4897 GB, free: 5.258 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3376, allocations: 72.3 MB / 0.5603 GB, free: 40.42 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5906/0.9282, allocations: 313.4 MB / 0.8664 GB, free: 3.711 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/0.9285, allocations: 78.08 kB / 0.8664 GB, free: 3.668 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01872/0.9473, allocations: 8.258 MB / 0.8745 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.846e-06/0.9473, allocations: 0 / 0.8745 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.9473, allocations: 4.688 kB / 0.8745 GB, free: 13.02 MB / 0.5573 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.0003095/0.9476, allocations: 349.7 kB / 0.8748 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.9477, allocations: 11.98 kB / 0.8748 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.608e-05/0.9477, allocations: 45.88 kB / 0.8749 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001787/0.9479, allocations: 15.94 kB / 0.8749 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.561e-05/0.948, allocations: 159.1 kB / 0.8751 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.948, allocations: 8 kB / 0.8751 GB, free: 12.35 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.9481, allocations: 3.25 kB / 0.8751 GB, free: 12.35 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.9482, allocations: 72.66 kB / 0.8751 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.9482, allocations: 0 / 0.8751 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.9482, allocations: 3.938 kB / 0.8751 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.9482, allocations: 3.953 kB / 0.8751 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.588e-05/0.9483, allocations: 11.25 kB / 0.8751 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005734/0.9489, allocations: 473.5 kB / 0.8756 GB, free: 11.74 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.949, allocations: 75.22 kB / 0.8757 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.277e-05/0.9491, allocations: 26.08 kB / 0.8757 GB, free: 11.61 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 7.925e-06/0.9491, allocations: 0 / 0.8757 GB, free: 11.61 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.9491, allocations: 34.52 kB / 0.8757 GB, free: 11.57 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.9491, allocations: 0 / 0.8757 GB, free: 11.57 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7): time 0.0005845/0.9497, allocations: 300 kB / 0.876 GB, free: 11.24 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.331e-05/0.9498, allocations: 106.4 kB / 0.8761 GB, free: 11.12 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.472e-05/0.9499, allocations: 89.94 kB / 0.8762 GB, free: 11.02 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.9499, allocations: 28.77 kB / 0.8762 GB, free: 10.99 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.347e-05/0.9499, allocations: 88.05 kB / 0.8763 GB, free: 10.9 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.95, allocations: 31.16 kB / 0.8763 GB, free: 10.88 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-06/0.95, allocations: 7.5 kB / 0.8764 GB, free: 10.87 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.9501, allocations: 314.9 kB / 0.8767 GB, free: 10.55 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.469e-05/0.9501, allocations: 11.94 kB / 0.8767 GB, free: 10.55 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.931e-05/0.9502, allocations: 60.27 kB / 0.8767 GB, free: 10.48 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.129e-05/0.9502, allocations: 27.84 kB / 0.8767 GB, free: 10.45 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.9502, allocations: 0 / 0.8767 GB, free: 10.45 MB / 0.5573 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001322/0.9504, allocations: 94.83 kB / 0.8768 GB, free: 10.37 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.9504, allocations: 9.047 kB / 0.8768 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.9504, allocations: 0 / 0.8768 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.9504, allocations: 4 kB / 0.8769 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.418e-05/0.9505, allocations: 19.94 kB / 0.8769 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.9505, allocations: 4 kB / 0.8769 GB, free: 10.33 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.382e-05/0.9506, allocations: 0 / 0.8769 GB, free: 10.33 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.9506, allocations: 11.94 kB / 0.8769 GB, free: 10.32 MB / 0.5573 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 6.283e-05/0.9506, allocations: 109 kB / 0.877 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.843e-05/0.9507, allocations: 11.84 kB / 0.877 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.046e-05/0.9507, allocations: 11.2 kB / 0.877 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.9508, allocations: 0 / 0.877 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/0.9508, allocations: 4 kB / 0.877 GB, free: 10.19 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.9508, allocations: 0 / 0.877 GB, free: 10.19 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002975/0.9511, allocations: 169.2 kB / 0.8772 GB, free: 9.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.9511, allocations: 0 / 0.8772 GB, free: 9.98 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.32e-05/0.9512, allocations: 27.92 kB / 0.8772 GB, free: 9.953 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.9512, allocations: 0 / 0.8772 GB, free: 9.953 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.9512, allocations: 3.875 kB / 0.8772 GB, free: 9.953 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.9512, allocations: 8.016 kB / 0.8772 GB, free: 9.945 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.9512, allocations: 4 kB / 0.8772 GB, free: 9.941 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.9515, allocations: 346.8 kB / 0.8775 GB, free: 9.586 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.438e-05/0.9516, allocations: 96.72 kB / 0.8776 GB, free: 9.477 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.9516, allocations: 1.219 kB / 0.8776 GB, free: 9.477 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.9517, allocations: 4 kB / 0.8776 GB, free: 9.473 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.095e-05/0.9518, allocations: 3.984 kB / 0.8776 GB, free: 9.469 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.365e-06/0.9518, allocations: 7.625 kB / 0.8777 GB, free: 9.465 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.96e-05/0.9518, allocations: 79.28 kB / 0.8777 GB, free: 9.387 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9518, allocations: 0 / 0.8777 GB, free: 9.387 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002756/0.9521, allocations: 19.38 kB / 0.8778 GB, free: 9.371 MB / 0.5573 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.0005367/0.9526, allocations: 1.025 MB / 0.8788 GB, free: 8.328 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 9.533e-05/0.9527, allocations: 38.94 kB / 0.8788 GB, free: 8.297 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9528, allocations: 3.938 kB / 0.8788 GB, free: 8.293 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.38e-05/0.9528, allocations: 23.97 kB / 0.8788 GB, free: 8.27 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.953, allocations: 6.844 kB / 0.8788 GB, free: 8.27 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006793/0.9537, allocations: 327.8 kB / 0.8791 GB, free: 7.918 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.954, allocations: 0.6887 MB / 0.8798 GB, free: 7.203 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.748e-05/0.954, allocations: 11.98 kB / 0.8798 GB, free: 7.191 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.361e-05/0.9541, allocations: 14.81 kB / 0.8798 GB, free: 7.18 MB / 0.5573 GB Notification: Performance of SimCode: time 2.3e-07/0.9541, allocations: 0 / 0.8798 GB, free: 7.18 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01162/0.9657, allocations: 1.443 MB / 0.8812 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002254/0.966, allocations: 188.4 kB / 0.8814 GB, free: 5.703 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.514/2.48, allocations: 1.719 kB / 0.8814 GB, free: 5.703 MB / 0.5573 GB (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)