Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IBPSA_latest_IBPSA_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.001122/0.001122, allocations: 103.7 kB / 16.27 MB, free: 6.41 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.001144/0.001144, allocations: 184.4 kB / 17.2 MB, free: 5.953 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.297/1.297, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7352/0.7352, allocations: 122.9 MB / 413.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 55.91 kB / 0.4912 GB, free: 7.348 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3181, allocations: 77.92 MB / 0.5673 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004667/0.3228, allocations: 4.042 MB / 0.5712 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002243/0.3251, allocations: 2.425 MB / 0.5736 GB, free: 28.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.16e-05/0.3252, allocations: 1.656 kB / 0.5736 GB, free: 28.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002408/0.3254, allocations: 49 kB / 0.5736 GB, free: 28.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002478/0.3257, allocations: 101 kB / 0.5737 GB, free: 28.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.3269, allocations: 0.5181 MB / 0.5742 GB, free: 27.76 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002786/0.3272, allocations: 253.8 kB / 0.5745 GB, free: 27.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.715e-05/0.3272, allocations: 18.94 kB / 0.5745 GB, free: 27.65 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.3274, allocations: 117.6 kB / 0.5746 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.3276, allocations: 90.95 kB / 0.5747 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.3276, allocations: 8.562 kB / 0.5747 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008348/0.3284, allocations: 451.6 kB / 0.5751 GB, free: 27.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.412e-05/0.3285, allocations: 48.11 kB / 0.5752 GB, free: 27.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.212e-05/0.3286, allocations: 87.89 kB / 0.5753 GB, free: 27.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006441/0.3293, allocations: 404.5 kB / 0.5757 GB, free: 27.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3293, allocations: 0.75 kB / 0.5757 GB, free: 27.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3293, allocations: 3.938 kB / 0.5757 GB, free: 27.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.012e-06/0.3293, allocations: 0.5 kB / 0.5757 GB, free: 27.2 MB / 446.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.0006504/0.33, allocations: 0.506 MB / 0.5762 GB, free: 26.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.33, allocations: 12 kB / 0.5762 GB, free: 26.75 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.422e-05/0.3301, allocations: 53 kB / 0.5762 GB, free: 26.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001972/0.332, allocations: 180.1 kB / 0.5764 GB, free: 26.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.3322, allocations: 210.8 kB / 0.5766 GB, free: 26.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.3323, allocations: 19.42 kB / 0.5766 GB, free: 26.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.746e-05/0.3323, allocations: 14.97 kB / 0.5766 GB, free: 26.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006129/0.3329, allocations: 307.4 kB / 0.5769 GB, free: 26.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.333, allocations: 1.719 kB / 0.5769 GB, free: 26.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.672e-05/0.333, allocations: 7.812 kB / 0.5769 GB, free: 26.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/0.333, allocations: 5.406 kB / 0.5769 GB, free: 26.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007251/0.3338, allocations: 262.7 kB / 0.5772 GB, free: 26.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/0.3351, allocations: 1.392 MB / 0.5785 GB, free: 24.92 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006387/0.3357, allocations: 194.7 kB / 0.5787 GB, free: 24.85 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002249/0.336, allocations: 81.77 kB / 0.5788 GB, free: 24.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.336, allocations: 1.953 kB / 0.5788 GB, free: 24.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.336, allocations: 38.42 kB / 0.5788 GB, free: 24.78 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.643e-06/0.336, allocations: 1.125 kB / 0.5788 GB, free: 24.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007658/0.3368, allocations: 247.7 kB / 0.5791 GB, free: 24.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.061e-05/0.3368, allocations: 55.34 kB / 0.5791 GB, free: 24.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.337, allocations: 159.1 kB / 0.5793 GB, free: 24.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.337, allocations: 31.08 kB / 0.5793 GB, free: 24.47 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.936e-05/0.337, allocations: 128.2 kB / 0.5794 GB, free: 24.35 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.88e-05/0.3371, allocations: 62.02 kB / 0.5795 GB, free: 24.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.889e-05/0.3372, allocations: 50.62 kB / 0.5795 GB, free: 24.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.741e-05/0.3372, allocations: 325.9 kB / 0.5799 GB, free: 23.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.3374, allocations: 69.52 kB / 0.5799 GB, free: 23.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.3377, allocations: 137.8 kB / 0.5801 GB, free: 23.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004372/0.3381, allocations: 217.2 kB / 0.5803 GB, free: 23.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3381, allocations: 5.031 kB / 0.5803 GB, free: 23.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005645/0.3387, allocations: 254.3 kB / 0.5805 GB, free: 23.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3387, allocations: 5.5 kB / 0.5805 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.3387, allocations: 3.5 kB / 0.5805 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.3388, allocations: 4.125 kB / 0.5805 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003535/0.3391, allocations: 62.55 kB / 0.5806 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.3391, allocations: 5.172 kB / 0.5806 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002315/0.3394, allocations: 39.89 kB / 0.5806 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.3394, allocations: 14.53 kB / 0.5806 GB, free: 23.54 MB / 446.1 MB 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 8.865e-05/0.3395, allocations: 131.9 kB / 0.5808 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.413e-05/0.3396, allocations: 19.97 kB / 0.5808 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006191/0.3402, allocations: 232.8 kB / 0.581 GB, free: 23.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.3402, allocations: 3.156 kB / 0.581 GB, free: 23.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3402, allocations: 0.8438 kB / 0.581 GB, free: 23.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3402, allocations: 2.062 kB / 0.581 GB, free: 23.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.3405, allocations: 244.1 kB / 0.5812 GB, free: 23.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3405, allocations: 0 / 0.5812 GB, free: 23.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003034/0.3408, allocations: 48.14 kB / 0.5813 GB, free: 23.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3408, allocations: 1.688 kB / 0.5813 GB, free: 23.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.3408, allocations: 7.844 kB / 0.5813 GB, free: 23.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3408, allocations: 5.594 kB / 0.5813 GB, free: 23.06 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3408, allocations: 0.5156 kB / 0.5813 GB, free: 23.06 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005144/0.3413, allocations: 294.9 kB / 0.5816 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.754e-05/0.3414, allocations: 106.5 kB / 0.5817 GB, free: 22.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.717e-05/0.3415, allocations: 5.719 kB / 0.5817 GB, free: 22.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002758/0.3417, allocations: 14.88 kB / 0.5817 GB, free: 22.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.142e-05/0.3418, allocations: 14.06 kB / 0.5817 GB, free: 22.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/0.3418, allocations: 7.969 kB / 0.5817 GB, free: 22.76 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.203e-05/0.3419, allocations: 116.5 kB / 0.5818 GB, free: 22.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3419, allocations: 0.9062 kB / 0.5818 GB, free: 22.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003657/0.3423, allocations: 60.62 kB / 0.5819 GB, free: 22.67 MB / 446.1 MB 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.0007419/0.343, allocations: 0.8755 MB / 0.5828 GB, free: 21.94 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005396/0.3436, allocations: 186.7 kB / 0.5829 GB, free: 21.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3436, allocations: 0 / 0.5829 GB, free: 21.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002326/0.3438, allocations: 99.3 kB / 0.583 GB, free: 21.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004745/0.3443, allocations: 61.5 kB / 0.5831 GB, free: 21.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002669/0.347, allocations: 2.156 MB / 0.5852 GB, free: 20.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.3471, allocations: 0.7187 MB / 0.5859 GB, free: 19.37 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003356/0.3475, allocations: 55.36 kB / 0.5859 GB, free: 19.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.793e-05/0.3476, allocations: 42.08 kB / 0.586 GB, free: 19.3 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3476, allocations: 0 / 0.586 GB, free: 19.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02006/0.3676, allocations: 5.137 MB / 0.591 GB, free: 16.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.051/7.418, allocations: 5.25 kB / 0.591 GB, free: 16.75 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)