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.005086/0.005087, allocations: 102 kB / 15.73 MB, free: 6.035 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.001257/0.001257, allocations: 199.5 kB / 16.68 MB, free: 5.957 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.268/1.268, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001994/0.001994, allocations: 289.4 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8937/0.8937, allocations: 169.2 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0018/0.001801, allocations: 96.08 kB / 0.681 GB, free: 7.402 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3766, allocations: 86.97 MB / 0.766 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005021/0.3817, allocations: 4.042 MB / 0.7699 GB, free: 15.81 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002623/0.3843, allocations: 2.43 MB / 0.7723 GB, free: 13.37 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.3845, allocations: 3.938 kB / 0.7723 GB, free: 13.37 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002371/0.3847, allocations: 43.69 kB / 0.7723 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002779/0.385, allocations: 99.41 kB / 0.7724 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.3863, allocations: 0.5236 MB / 0.7729 GB, free: 12.71 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003313/0.3866, allocations: 259.9 kB / 0.7732 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.647e-05/0.3867, allocations: 13.55 kB / 0.7732 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002201/0.3869, allocations: 119.6 kB / 0.7733 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.387, allocations: 91.59 kB / 0.7734 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.3871, allocations: 12 kB / 0.7734 GB, free: 12.22 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008342/0.3879, allocations: 451.3 kB / 0.7738 GB, free: 11.78 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.414e-05/0.388, allocations: 39.89 kB / 0.7739 GB, free: 11.74 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.555e-05/0.3881, allocations: 87.58 kB / 0.774 GB, free: 11.65 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006588/0.3888, allocations: 413.8 kB / 0.7744 GB, free: 11.25 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3888, allocations: 0 / 0.7744 GB, free: 11.25 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3888, allocations: 3.938 kB / 0.7744 GB, free: 11.25 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.3888, allocations: 7.938 kB / 0.7744 GB, free: 11.24 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.0007104/0.3895, allocations: 0.4993 MB / 0.7749 GB, free: 10.69 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.3896, allocations: 8.031 kB / 0.7749 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.445e-05/0.3896, allocations: 50.73 kB / 0.7749 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001968/0.3916, allocations: 180.5 kB / 0.7751 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.3919, allocations: 212.1 kB / 0.7753 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/0.3919, allocations: 12.7 kB / 0.7753 GB, free: 10.19 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.568e-05/0.392, allocations: 16.38 kB / 0.7753 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006029/0.3926, allocations: 312.1 kB / 0.7756 GB, free: 9.832 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.3926, allocations: 4 kB / 0.7756 GB, free: 9.828 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.518e-05/0.3926, allocations: 12 kB / 0.7756 GB, free: 9.816 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/0.3927, allocations: 4 kB / 0.7756 GB, free: 9.812 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006298/0.3933, allocations: 263.6 kB / 0.7759 GB, free: 9.555 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001471/0.3948, allocations: 1.389 MB / 0.7772 GB, free: 8.051 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005696/0.3954, allocations: 192.2 kB / 0.7774 GB, free: 7.855 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001998/0.3956, allocations: 76.81 kB / 0.7775 GB, free: 7.777 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.3956, allocations: 7.984 kB / 0.7775 GB, free: 7.77 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.3956, allocations: 34.56 kB / 0.7775 GB, free: 7.727 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.393e-06/0.3956, allocations: 0 / 0.7775 GB, free: 7.727 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.000694/0.3963, allocations: 251.7 kB / 0.7778 GB, free: 7.477 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.3964, allocations: 55.41 kB / 0.7778 GB, free: 7.41 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.3965, allocations: 158.5 kB / 0.778 GB, free: 7.25 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/0.3965, allocations: 25.7 kB / 0.778 GB, free: 7.219 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.966e-05/0.3966, allocations: 136 kB / 0.7781 GB, free: 7.082 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.668e-05/0.3967, allocations: 59.11 kB / 0.7782 GB, free: 7.023 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-05/0.3968, allocations: 45.92 kB / 0.7782 GB, free: 6.969 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.821e-05/0.3969, allocations: 334.8 kB / 0.7785 GB, free: 6.633 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/0.3971, allocations: 64.42 kB / 0.7786 GB, free: 6.57 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.3973, allocations: 146.2 kB / 0.7788 GB, free: 6.395 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004203/0.3977, allocations: 217.2 kB / 0.779 GB, free: 6.148 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3977, allocations: 0 / 0.779 GB, free: 6.148 MB / 0.545 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005291/0.3983, allocations: 256.3 kB / 0.7792 GB, free: 5.895 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.3983, allocations: 8 kB / 0.7792 GB, free: 5.887 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3983, allocations: 0 / 0.7792 GB, free: 5.887 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.3983, allocations: 4.312 kB / 0.7792 GB, free: 5.883 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003582/0.3987, allocations: 67.89 kB / 0.7793 GB, free: 5.816 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.3987, allocations: 7.984 kB / 0.7793 GB, free: 5.809 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.3989, allocations: 31.69 kB / 0.7793 GB, free: 5.777 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.579e-05/0.399, allocations: 11.98 kB / 0.7793 GB, free: 5.766 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.0001088/0.3991, allocations: 136.1 kB / 0.7795 GB, free: 5.625 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.21e-05/0.3991, allocations: 15.81 kB / 0.7795 GB, free: 5.609 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005629/0.3997, allocations: 241.3 kB / 0.7797 GB, free: 5.363 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.3997, allocations: 0 / 0.7797 GB, free: 5.363 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3997, allocations: 0 / 0.7797 GB, free: 5.363 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.3997, allocations: 4 kB / 0.7797 GB, free: 5.359 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002466/0.4, allocations: 237.4 kB / 0.7799 GB, free: 5.078 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4, allocations: 0 / 0.7799 GB, free: 5.078 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003053/0.4003, allocations: 47.97 kB / 0.78 GB, free: 5.031 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.4003, allocations: 0 / 0.78 GB, free: 5.031 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.4004, allocations: 7.984 kB / 0.78 GB, free: 5.023 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.4004, allocations: 4 kB / 0.78 GB, free: 5.02 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4004, allocations: 0 / 0.78 GB, free: 5.02 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004944/0.4009, allocations: 291.2 kB / 0.7803 GB, free: 4.719 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.002e-05/0.401, allocations: 108.8 kB / 0.7804 GB, free: 4.594 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.425e-05/0.401, allocations: 4 kB / 0.7804 GB, free: 4.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002676/0.4013, allocations: 23.98 kB / 0.7804 GB, free: 4.566 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.275e-05/0.4013, allocations: 15.92 kB / 0.7804 GB, free: 4.551 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.4013, allocations: 8 kB / 0.7804 GB, free: 4.543 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.577e-05/0.4014, allocations: 119.2 kB / 0.7805 GB, free: 4.426 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4014, allocations: 0 / 0.7805 GB, free: 4.426 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003461/0.4018, allocations: 64.12 kB / 0.7806 GB, free: 4.363 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.0008174/0.4026, allocations: 0.8658 MB / 0.7814 GB, free: 3.477 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004629/0.4031, allocations: 179.7 kB / 0.7816 GB, free: 3.301 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4031, allocations: 0.625 kB / 0.7816 GB, free: 3.301 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002045/0.4033, allocations: 91.89 kB / 0.7817 GB, free: 3.211 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/0.4037, allocations: 55.88 kB / 0.7818 GB, free: 3.156 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002894/0.4067, allocations: 2.168 MB / 0.7839 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.4069, allocations: 0.7212 MB / 0.7846 GB, free: 108 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002359/0.4072, allocations: 49.92 kB / 0.7846 GB, free: 56 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.4073, allocations: 51.41 kB / 0.7847 GB, free: 4 kB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.4073, allocations: 0 / 0.7847 GB, free: 4 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02014/0.4274, allocations: 5.288 MB / 0.7898 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.352/7.779, allocations: 12.89 kB / 0.7898 GB, free: 10.93 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)