Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="BuildingSystems_BuildingSystems_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.004632/0.004633, allocations: 97.38 kB / 15.73 MB, free: 5.949 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.001739/0.00174, allocations: 193.9 kB / 16.67 MB, free: 5.871 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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002638/0.002638, allocations: 293.7 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.003/1.003, allocations: 169.2 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00278/0.00278, allocations: 100.1 kB / 0.681 GB, free: 7.371 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4043/0.4071, allocations: 86.97 MB / 0.766 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005671/0.4128, allocations: 4.05 MB / 0.7699 GB, free: 15.75 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003011/0.4158, allocations: 2.43 MB / 0.7723 GB, free: 13.31 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.393e-05/0.4159, allocations: 0 / 0.7723 GB, free: 13.31 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002422/0.4161, allocations: 51.66 kB / 0.7723 GB, free: 13.26 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002591/0.4164, allocations: 99.34 kB / 0.7724 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.4177, allocations: 0.5175 MB / 0.7729 GB, free: 12.65 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003447/0.418, allocations: 259.9 kB / 0.7732 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.377e-05/0.4181, allocations: 13.55 kB / 0.7732 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002148/0.4183, allocations: 119.5 kB / 0.7733 GB, free: 12.26 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.4185, allocations: 95.59 kB / 0.7734 GB, free: 12.17 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.4185, allocations: 8 kB / 0.7734 GB, free: 12.16 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009066/0.4194, allocations: 455.3 kB / 0.7739 GB, free: 11.71 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.944e-05/0.4195, allocations: 39.89 kB / 0.7739 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.918e-05/0.4196, allocations: 83.58 kB / 0.774 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006515/0.4203, allocations: 415.9 kB / 0.7744 GB, free: 11.2 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.4203, allocations: 0 / 0.7744 GB, free: 11.2 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.936e-06/0.4203, allocations: 4 kB / 0.7744 GB, free: 11.19 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.989e-06/0.4203, allocations: 7.938 kB / 0.7744 GB, free: 11.18 MB / 0.545 GB 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.0008826/0.4212, allocations: 0.5064 MB / 0.7749 GB, free: 10.62 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.4213, allocations: 8.031 kB / 0.7749 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.993e-05/0.4213, allocations: 50.73 kB / 0.7749 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002065/0.4234, allocations: 176.6 kB / 0.7751 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/0.4237, allocations: 212.2 kB / 0.7753 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.4238, allocations: 8.703 kB / 0.7753 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.295e-05/0.4238, allocations: 16.38 kB / 0.7753 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006902/0.4245, allocations: 304.2 kB / 0.7756 GB, free: 9.785 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.4245, allocations: 11.88 kB / 0.7756 GB, free: 9.773 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.843e-05/0.4246, allocations: 8 kB / 0.7756 GB, free: 9.766 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.579e-05/0.4246, allocations: 8 kB / 0.7756 GB, free: 9.758 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007342/0.4254, allocations: 259.6 kB / 0.7759 GB, free: 9.504 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001874/0.4272, allocations: 1.393 MB / 0.7772 GB, free: 7.996 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006717/0.4279, allocations: 194.4 kB / 0.7774 GB, free: 7.797 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003029/0.4282, allocations: 76.81 kB / 0.7775 GB, free: 7.719 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.4283, allocations: 7.984 kB / 0.7775 GB, free: 7.711 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.4283, allocations: 34.56 kB / 0.7775 GB, free: 7.668 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.533e-06/0.4283, allocations: 0 / 0.7775 GB, free: 7.668 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0008059/0.4291, allocations: 248 kB / 0.7778 GB, free: 7.422 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.4292, allocations: 51.41 kB / 0.7778 GB, free: 7.359 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.4293, allocations: 165.9 kB / 0.778 GB, free: 7.191 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.4294, allocations: 25.7 kB / 0.778 GB, free: 7.16 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.4295, allocations: 136.2 kB / 0.7781 GB, free: 7.023 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.629e-05/0.4296, allocations: 67.38 kB / 0.7782 GB, free: 6.957 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.294e-05/0.4297, allocations: 49.92 kB / 0.7783 GB, free: 6.898 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.4298, allocations: 330.8 kB / 0.7786 GB, free: 6.566 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.4301, allocations: 64.42 kB / 0.7786 GB, free: 6.504 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002651/0.4303, allocations: 142.3 kB / 0.7788 GB, free: 6.332 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004927/0.4308, allocations: 217.2 kB / 0.779 GB, free: 6.086 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.4308, allocations: 0 / 0.779 GB, free: 6.086 MB / 0.545 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006086/0.4315, allocations: 260.1 kB / 0.7792 GB, free: 5.828 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.4315, allocations: 4 kB / 0.7792 GB, free: 5.824 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.4315, allocations: 4 kB / 0.7792 GB, free: 5.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.4315, allocations: 8.312 kB / 0.7792 GB, free: 5.812 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003786/0.4319, allocations: 67.89 kB / 0.7793 GB, free: 5.746 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.4319, allocations: 4 kB / 0.7793 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/0.4322, allocations: 27.83 kB / 0.7793 GB, free: 5.715 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/0.4322, allocations: 15.98 kB / 0.7794 GB, free: 5.699 MB / 0.545 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.000141/0.4324, allocations: 140.1 kB / 0.7795 GB, free: 5.555 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.941e-05/0.4324, allocations: 15.91 kB / 0.7795 GB, free: 5.539 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006521/0.4331, allocations: 230.7 kB / 0.7797 GB, free: 5.301 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.4331, allocations: 3.984 kB / 0.7797 GB, free: 5.297 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.4331, allocations: 0 / 0.7797 GB, free: 5.297 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.4331, allocations: 0 / 0.7797 GB, free: 5.297 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000332/0.4335, allocations: 245.3 kB / 0.78 GB, free: 5.008 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4335, allocations: 0 / 0.78 GB, free: 5.008 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003236/0.4338, allocations: 47.97 kB / 0.78 GB, free: 4.961 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.4338, allocations: 0 / 0.78 GB, free: 4.961 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.4338, allocations: 7.984 kB / 0.78 GB, free: 4.953 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4339, allocations: 4 kB / 0.78 GB, free: 4.949 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4339, allocations: 0 / 0.78 GB, free: 4.949 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005821/0.4345, allocations: 305.2 kB / 0.7803 GB, free: 4.637 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.4346, allocations: 105 kB / 0.7804 GB, free: 4.516 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.4346, allocations: 0 / 0.7804 GB, free: 4.516 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003093/0.4349, allocations: 19.98 kB / 0.7804 GB, free: 4.496 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.435, allocations: 11.98 kB / 0.7804 GB, free: 4.484 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.694e-05/0.435, allocations: 11.98 kB / 0.7804 GB, free: 4.473 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.666e-05/0.4351, allocations: 115.2 kB / 0.7806 GB, free: 4.359 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4351, allocations: 3.938 kB / 0.7806 GB, free: 4.355 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004796/0.4356, allocations: 59.94 kB / 0.7806 GB, free: 4.297 MB / 0.545 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.001099/0.4367, allocations: 0.8734 MB / 0.7815 GB, free: 3.402 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005395/0.4373, allocations: 175.8 kB / 0.7816 GB, free: 3.23 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4373, allocations: 0.625 kB / 0.7816 GB, free: 3.23 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002358/0.4375, allocations: 95.83 kB / 0.7817 GB, free: 3.137 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005447/0.4381, allocations: 57.77 kB / 0.7818 GB, free: 3.082 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003454/0.4416, allocations: 2.168 MB / 0.7839 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.4419, allocations: 0.7175 MB / 0.7846 GB, free: 36 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002796/0.4422, allocations: 53.97 kB / 0.7847 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.4424, allocations: 47.41 kB / 0.7847 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of SimCode: time 3.6e-07/0.4424, allocations: 0 / 0.7847 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02794/0.4703, allocations: 5.211 MB / 0.7898 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.995/8.466, allocations: 11.52 kB / 0.7898 GB, free: 10.94 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)