Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001054/0.001054, allocations: 99.86 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.001197/0.001197, 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 1.356/1.356, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.01/1.01, allocations: 143.3 MB / 434.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003461/0.0003461, allocations: 11.98 kB / 0.5159 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1725, allocations: 83.41 MB / 0.5974 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001241/0.1738, allocations: 0.9706 MB / 0.5983 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002232/0.1761, allocations: 1.885 MB / 0.6001 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.399e-05/0.1761, allocations: 0 / 0.6001 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.375e-05/0.1761, allocations: 0 / 0.6001 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.615e-05/0.1762, allocations: 11.98 kB / 0.6002 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004148/0.1766, allocations: 111.7 kB / 0.6003 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.853e-05/0.1767, allocations: 23.91 kB / 0.6003 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.492e-05/0.1767, allocations: 0 / 0.6003 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.272e-05/0.1768, allocations: 19.98 kB / 0.6003 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.316e-05/0.1769, allocations: 15.92 kB / 0.6003 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.1769, allocations: 4 kB / 0.6003 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002735/0.1772, allocations: 119.8 kB / 0.6004 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.216e-05/0.1772, allocations: 4 kB / 0.6004 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.635e-05/0.1772, allocations: 29.7 kB / 0.6005 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.1774, allocations: 48.17 kB / 0.6005 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.1774, allocations: 0 / 0.6005 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1774, allocations: 0 / 0.6005 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.1774, allocations: 0 / 0.6005 GB, free: 4.535 MB / 0.4981 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.0003796/0.1778, allocations: 343.2 kB / 0.6008 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.1778, allocations: 12.03 kB / 0.6009 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.01e-05/0.1779, allocations: 34.56 kB / 0.6009 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000209/0.1781, allocations: 15.94 kB / 0.6009 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.1782, allocations: 167 kB / 0.6011 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.1782, allocations: 7.984 kB / 0.6011 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.1782, allocations: 4 kB / 0.6011 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.1784, allocations: 72.23 kB / 0.6011 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.1784, allocations: 0 / 0.6011 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.1784, allocations: 7.938 kB / 0.6012 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.1784, allocations: 3.938 kB / 0.6012 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.243e-05/0.1785, allocations: 19.89 kB / 0.6012 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005564/0.179, allocations: 462.9 kB / 0.6016 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.1792, allocations: 79.7 kB / 0.6017 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.1792, allocations: 3.938 kB / 0.6017 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.1792, allocations: 38.7 kB / 0.6017 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.1792, allocations: 0 / 0.6017 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005548/0.1798, allocations: 306.1 kB / 0.602 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.1798, allocations: 102.8 kB / 0.6021 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.878e-05/0.1799, allocations: 101.8 kB / 0.6022 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.1799, allocations: 25.7 kB / 0.6022 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.297e-05/0.18, allocations: 88.05 kB / 0.6023 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.18, allocations: 27.8 kB / 0.6024 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-06/0.18, allocations: 8 kB / 0.6024 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.542e-05/0.1801, allocations: 314.8 kB / 0.6027 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.601e-05/0.1801, allocations: 15.98 kB / 0.6027 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.617e-05/0.1802, allocations: 53.08 kB / 0.6027 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.94e-05/0.1802, allocations: 20 kB / 0.6027 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1802, allocations: 0 / 0.6027 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001248/0.1804, allocations: 93.55 kB / 0.6028 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1804, allocations: 13.52 kB / 0.6028 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1804, allocations: 0 / 0.6028 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.1804, allocations: 4 kB / 0.6029 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.775e-05/0.1805, allocations: 19.98 kB / 0.6029 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1805, allocations: 4.062 kB / 0.6029 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.619e-05/0.1805, allocations: 8 kB / 0.6029 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.1806, allocations: 4 kB / 0.6029 GB, free: 1.766 MB / 0.4981 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 7.779e-05/0.1806, allocations: 113.8 kB / 0.603 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.564e-05/0.1807, allocations: 11.91 kB / 0.603 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.598e-05/0.1807, allocations: 11.52 kB / 0.603 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.1807, allocations: 3.938 kB / 0.603 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1807, allocations: 4 kB / 0.603 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.1808, allocations: 3.984 kB / 0.603 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003013/0.1811, allocations: 174.3 kB / 0.6032 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.1811, allocations: 8.047 kB / 0.6032 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.499e-05/0.1812, allocations: 19.94 kB / 0.6032 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1812, allocations: 0 / 0.6032 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.1812, allocations: 0 / 0.6032 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.1812, allocations: 7.953 kB / 0.6032 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1812, allocations: 0 / 0.6032 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.1814, allocations: 349.4 kB / 0.6036 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.624e-05/0.1815, allocations: 93.19 kB / 0.6037 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.1815, allocations: 7.984 kB / 0.6037 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.1817, allocations: 0 / 0.6037 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.82e-05/0.1817, allocations: 7.938 kB / 0.6037 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.1817, allocations: 11.98 kB / 0.6037 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.041e-05/0.1818, allocations: 79.28 kB / 0.6038 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1818, allocations: 0 / 0.6038 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003088/0.1821, allocations: 12 kB / 0.6038 GB, free: 0.7617 MB / 0.4981 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.3318/0.5138, allocations: 1.024 MB / 0.6048 GB, free: 40.65 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001515/0.514, allocations: 39.97 kB / 0.6048 GB, free: 40.65 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.5141, allocations: 0.875 kB / 0.6048 GB, free: 40.65 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.127e-05/0.5141, allocations: 19.86 kB / 0.6048 GB, free: 40.65 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.5145, allocations: 7.359 kB / 0.6048 GB, free: 40.65 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.5156, allocations: 1.445 MB / 0.6062 GB, free: 39.46 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.5158, allocations: 0.6878 MB / 0.6069 GB, free: 38.76 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.51e-05/0.5158, allocations: 9.141 kB / 0.6069 GB, free: 38.76 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.523e-05/0.5159, allocations: 13.66 kB / 0.6069 GB, free: 38.75 MB / 0.4981 GB Notification: Performance of SimCode: time 8.11e-07/0.5159, allocations: 4 kB / 0.6069 GB, free: 38.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01062/0.5265, allocations: 1.464 MB / 0.6084 GB, free: 38.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001395/0.5267, allocations: 225.9 kB / 0.6086 GB, free: 38.42 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.64/2.166, allocations: 0.5625 kB / 0.6086 GB, free: 38.42 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: