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.0009499/0.00095, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4846/0.4846, allocations: 90.91 MB / 99.34 MB, free: 2.238 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 221.5 MB / 343.2 MB, free: 1.551 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008499/0.0008499, allocations: 99.86 kB / 415.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.811e-05/1.814e-05, allocations: 4 kB / 494.6 MB, free: 52.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1573, allocations: 72.31 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.189/1.347, allocations: 312.7 MB / 0.859 GB, free: 161.1 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003641/1.347, allocations: 80.22 kB / 0.8591 GB, free: 161.1 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.01772/1.365, allocations: 8.219 MB / 0.8671 GB, free: 157.9 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.613e-06/1.365, allocations: 0 / 0.8671 GB, free: 157.9 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.934e-06/1.365, allocations: 0 / 0.8671 GB, free: 157.9 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.0003109/1.365, allocations: 354.3 kB / 0.8674 GB, free: 157.6 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/1.365, allocations: 7.656 kB / 0.8675 GB, free: 157.6 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002112/1.366, allocations: 19.16 kB / 0.8675 GB, free: 157.6 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.517e-05/1.366, allocations: 163 kB / 0.8676 GB, free: 157.4 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/1.366, allocations: 3.984 kB / 0.8676 GB, free: 157.3 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/1.366, allocations: 7.875 kB / 0.8676 GB, free: 157.3 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.217e-05/1.366, allocations: 7.562 kB / 0.8676 GB, free: 157.3 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.655e-05/1.366, allocations: 59.33 kB / 0.8677 GB, free: 157.3 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/1.366, allocations: 0 / 0.8677 GB, free: 157.3 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/1.366, allocations: 3.875 kB / 0.8677 GB, free: 157.3 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/1.366, allocations: 3.953 kB / 0.8677 GB, free: 157.3 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005148/1.367, allocations: 452.9 kB / 0.8681 GB, free: 156.8 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/1.367, allocations: 66.91 kB / 0.8682 GB, free: 156.7 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.88e-05/1.367, allocations: 26.33 kB / 0.8682 GB, free: 156.7 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.729e-06/1.367, allocations: 0 / 0.8682 GB, free: 156.7 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/1.367, allocations: 34.19 kB / 0.8683 GB, free: 156.7 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/1.367, allocations: 0 / 0.8683 GB, free: 156.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0005398/1.367, allocations: 283.6 kB / 0.8685 GB, free: 156.4 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/1.367, allocations: 110.6 kB / 0.8686 GB, free: 156.3 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.917e-05/1.367, allocations: 88.69 kB / 0.8687 GB, free: 156.2 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/1.367, allocations: 29.33 kB / 0.8688 GB, free: 156.2 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.947e-05/1.367, allocations: 84.05 kB / 0.8688 GB, free: 156.1 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/1.368, allocations: 30.92 kB / 0.8689 GB, free: 156 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/1.368, allocations: 0 / 0.8689 GB, free: 156 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.481e-05/1.368, allocations: 315.2 kB / 0.8692 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.13e-05/1.368, allocations: 7.375 kB / 0.8692 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.89e-05/1.368, allocations: 60.14 kB / 0.8692 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.484e-05/1.368, allocations: 19.36 kB / 0.8692 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/1.368, allocations: 0 / 0.8692 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000107/1.368, allocations: 77.88 kB / 0.8693 GB, free: 155.6 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/1.368, allocations: 6.406 kB / 0.8693 GB, free: 155.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/1.368, allocations: 3.969 kB / 0.8693 GB, free: 155.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/1.368, allocations: 7.938 kB / 0.8693 GB, free: 155.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-05/1.368, allocations: 23.69 kB / 0.8694 GB, free: 155.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/1.368, allocations: 0 / 0.8694 GB, free: 155.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.793e-05/1.368, allocations: 3.875 kB / 0.8694 GB, free: 155.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/1.368, allocations: 3.875 kB / 0.8694 GB, free: 155.6 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 5.997e-05/1.368, allocations: 108.8 kB / 0.8695 GB, free: 155.5 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001218/1.368, allocations: 72.05 kB / 0.8695 GB, free: 155.4 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.068e-05/1.368, allocations: 7.891 kB / 0.8695 GB, free: 155.4 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.3e-05/1.368, allocations: 15.83 kB / 0.8696 GB, free: 155.4 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/1.368, allocations: 0 / 0.8696 GB, free: 155.4 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/1.368, allocations: 3.938 kB / 0.8696 GB, free: 155.4 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/1.368, allocations: 3.812 kB / 0.8696 GB, free: 155.4 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002575/1.369, allocations: 149.2 kB / 0.8697 GB, free: 155.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/1.369, allocations: 0 / 0.8697 GB, free: 155.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.854e-05/1.369, allocations: 11.62 kB / 0.8697 GB, free: 155.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/1.369, allocations: 7.906 kB / 0.8697 GB, free: 155.3 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/1.369, allocations: 3.984 kB / 0.8697 GB, free: 155.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/1.369, allocations: 3.953 kB / 0.8697 GB, free: 155.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.369, allocations: 3.625 kB / 0.8697 GB, free: 155.3 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/1.369, allocations: 346.8 kB / 0.8701 GB, free: 154.9 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.353e-05/1.369, allocations: 88.97 kB / 0.8702 GB, free: 154.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/1.369, allocations: 0 / 0.8702 GB, free: 154.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/1.369, allocations: 3.938 kB / 0.8702 GB, free: 154.8 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.128e-05/1.369, allocations: 3.984 kB / 0.8702 GB, free: 154.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/1.369, allocations: 3.938 kB / 0.8702 GB, free: 154.8 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.146e-05/1.369, allocations: 82.91 kB / 0.8702 GB, free: 154.7 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.5e-07/1.369, allocations: 0 / 0.8702 GB, free: 154.7 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000328/1.37, allocations: 11.53 kB / 0.8703 GB, free: 154.7 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.0004138/1.37, allocations: 1.018 MB / 0.8713 GB, free: 153.8 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.15e-05/1.37, allocations: 42.81 kB / 0.8713 GB, free: 153.7 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.37, allocations: 0 / 0.8713 GB, free: 153.7 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.875e-05/1.37, allocations: 15.19 kB / 0.8713 GB, free: 153.7 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/1.37, allocations: 6.375 kB / 0.8713 GB, free: 153.7 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00068/1.371, allocations: 314.5 kB / 0.8716 GB, free: 153.4 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001413/1.371, allocations: 0.6905 MB / 0.8723 GB, free: 152.7 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.861e-05/1.371, allocations: 7.484 kB / 0.8723 GB, free: 152.7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/1.371, allocations: 17.25 kB / 0.8723 GB, free: 152.7 MB / 0.5886 GB Notification: Performance of SimCode: time 2.91e-07/1.371, allocations: 4 kB / 0.8723 GB, free: 152.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02247/1.394, allocations: 1.102 MB / 0.8734 GB, free: 152.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001934/1.394, allocations: 179.4 kB / 0.8736 GB, free: 152 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.498/2.892, allocations: 0 / 0.8736 GB, free: 152 MB / 0.5886 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)