Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",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.001954/0.001954, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001474/0.001474, allocations: 192 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7141/0.7141, allocations: 132.2 MB / 422.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 60.03 kB / 0.5013 GB, free: 9.004 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1289, allocations: 80.2 MB / 0.5797 GB, free: 9.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004828/0.1337, allocations: 4.095 MB / 0.5837 GB, free: 4.902 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002279/0.136, allocations: 2.434 MB / 0.586 GB, free: 2.461 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.83e-05/0.1361, allocations: 4 kB / 0.586 GB, free: 2.457 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001999/0.1363, allocations: 35.81 kB / 0.5861 GB, free: 2.422 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002147/0.1365, allocations: 91.47 kB / 0.5862 GB, free: 2.332 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009003/0.1374, allocations: 492.1 kB / 0.5866 GB, free: 1.859 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000242/0.1377, allocations: 255.9 kB / 0.5869 GB, free: 1.609 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.23e-05/0.1377, allocations: 17.56 kB / 0.5869 GB, free: 1.59 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.1379, allocations: 123.5 kB / 0.587 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.138, allocations: 99.64 kB / 0.5871 GB, free: 1.371 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.608e-05/0.1381, allocations: 8 kB / 0.5871 GB, free: 1.363 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000628/0.1387, allocations: 467.1 kB / 0.5876 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.743e-05/0.1388, allocations: 35.91 kB / 0.5876 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.279e-05/0.1388, allocations: 87.58 kB / 0.5877 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004832/0.1393, allocations: 415.2 kB / 0.5881 GB, free: 388 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1393, allocations: 0 / 0.5881 GB, free: 388 kB / 494.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1393, allocations: 4 kB / 0.5881 GB, free: 384 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.1393, allocations: 3.938 kB / 0.5881 GB, free: 380 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006242/0.14, allocations: 0.5018 MB / 0.5886 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.14, allocations: 8.031 kB / 0.5886 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.315e-05/0.1401, allocations: 58.72 kB / 0.5886 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001851/0.1419, allocations: 184.5 kB / 0.5888 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.1421, allocations: 208.1 kB / 0.589 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.1422, allocations: 12.7 kB / 0.589 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.455e-05/0.1422, allocations: 16.38 kB / 0.589 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006581/0.1429, allocations: 308.8 kB / 0.5893 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.1429, allocations: 11.88 kB / 0.5893 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.34e-05/0.1429, allocations: 8 kB / 0.5894 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.1429, allocations: 11.98 kB / 0.5894 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006388/0.1436, allocations: 259.6 kB / 0.5896 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001547/0.1451, allocations: 1.385 MB / 0.591 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005839/0.1457, allocations: 190.5 kB / 0.5911 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002087/0.146, allocations: 76.81 kB / 0.5912 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.146, allocations: 4 kB / 0.5912 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.146, allocations: 34.56 kB / 0.5913 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.222e-06/0.146, allocations: 0 / 0.5913 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0006912/0.1467, allocations: 253.2 kB / 0.5915 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.1468, allocations: 51.41 kB / 0.5916 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.1469, allocations: 154.2 kB / 0.5917 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.1469, allocations: 29.7 kB / 0.5917 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.732e-05/0.147, allocations: 135.9 kB / 0.5919 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.589e-05/0.147, allocations: 67.09 kB / 0.5919 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.876e-05/0.1471, allocations: 53.83 kB / 0.592 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.1472, allocations: 326.8 kB / 0.5923 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.1474, allocations: 64.42 kB / 0.5923 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.1477, allocations: 140.9 kB / 0.5925 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004221/0.1481, allocations: 223.3 kB / 0.5927 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1481, allocations: 0 / 0.5927 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005381/0.1486, allocations: 247.2 kB / 0.5929 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.1487, allocations: 8.25 kB / 0.5929 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.1487, allocations: 8 kB / 0.5929 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.1487, allocations: 4 kB / 0.5929 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003384/0.149, allocations: 63.89 kB / 0.593 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.149, allocations: 7.984 kB / 0.593 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.1493, allocations: 27.75 kB / 0.593 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.462e-05/0.1493, allocations: 15.98 kB / 0.5931 GB, free: 10.89 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001135/0.1494, allocations: 137.7 kB / 0.5932 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.003e-05/0.1495, allocations: 15.81 kB / 0.5932 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005953/0.1501, allocations: 222.7 kB / 0.5934 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1501, allocations: 0 / 0.5934 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1501, allocations: 4 kB / 0.5934 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1501, allocations: 0 / 0.5934 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/0.1504, allocations: 245.6 kB / 0.5937 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1504, allocations: 4 kB / 0.5937 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003121/0.1507, allocations: 47.91 kB / 0.5937 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.1507, allocations: 3.984 kB / 0.5937 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.1507, allocations: 11.98 kB / 0.5937 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1507, allocations: 0 / 0.5937 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1508, allocations: 4 kB / 0.5937 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005186/0.1513, allocations: 303.1 kB / 0.594 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.005e-05/0.1514, allocations: 96.98 kB / 0.5941 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.479e-05/0.1514, allocations: 4 kB / 0.5941 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000289/0.1517, allocations: 19.97 kB / 0.5941 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.998e-05/0.1517, allocations: 11.98 kB / 0.5941 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/0.1518, allocations: 8 kB / 0.5941 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.24e-05/0.1518, allocations: 118.9 kB / 0.5943 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1519, allocations: 3.938 kB / 0.5943 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003278/0.1522, allocations: 75.97 kB / 0.5943 GB, free: 9.484 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008471/0.153, allocations: 0.8623 MB / 0.5952 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005107/0.1536, allocations: 182.3 kB / 0.5954 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1536, allocations: 3.938 kB / 0.5954 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002172/0.1538, allocations: 91.88 kB / 0.5954 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004861/0.1543, allocations: 64.69 kB / 0.5955 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002926/0.1572, allocations: 2.196 MB / 0.5976 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.1575, allocations: 0.7172 MB / 0.5983 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003498/0.1578, allocations: 53.92 kB / 0.5984 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.158, allocations: 47.41 kB / 0.5984 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.158, allocations: 0 / 0.5984 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4225/0.5805, allocations: 5.043 MB / 0.6034 GB, free: 304 kB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002436/0.5808, allocations: 226.3 kB / 0.6036 GB, free: 44 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.072/2.653, allocations: 5.812 kB / 0.6036 GB, free: 40 kB / 0.4981 GB (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)