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.001616/0.001617, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.316/1.316, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7242/0.7242, allocations: 132.2 MB / 422.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 59.75 kB / 0.5019 GB, free: 3.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3557, allocations: 80.21 MB / 0.5802 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006572/0.3623, allocations: 4.031 MB / 0.5841 GB, free: 1.676 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003491/0.3659, allocations: 2.441 MB / 0.5865 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.734e-05/0.366, allocations: 1.156 kB / 0.5865 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000308/0.3663, allocations: 42.48 kB / 0.5866 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003715/0.3667, allocations: 98.64 kB / 0.5867 GB, free: 15.87 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001741/0.3685, allocations: 0.5264 MB / 0.5872 GB, free: 15.6 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004364/0.3689, allocations: 261.2 kB / 0.5874 GB, free: 15.49 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.239e-05/0.369, allocations: 8.906 kB / 0.5874 GB, free: 15.49 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002902/0.3693, allocations: 118 kB / 0.5875 GB, free: 15.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.3695, allocations: 99.61 kB / 0.5876 GB, free: 15.4 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.334e-05/0.3695, allocations: 7.938 kB / 0.5876 GB, free: 15.4 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001249/0.3708, allocations: 451.5 kB / 0.5881 GB, free: 15.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.855e-05/0.3709, allocations: 44.5 kB / 0.5881 GB, free: 15.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001484/0.3711, allocations: 91.34 kB / 0.5882 GB, free: 15.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000914/0.372, allocations: 403.8 kB / 0.5886 GB, free: 15.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.372, allocations: 0 / 0.5886 GB, free: 15.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3721, allocations: 0 / 0.5886 GB, free: 15.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.3721, allocations: 0.75 kB / 0.5886 GB, free: 15.04 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.000963/0.373, allocations: 0.5054 MB / 0.5891 GB, free: 14.58 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.3731, allocations: 10.03 kB / 0.5891 GB, free: 14.58 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.165e-05/0.3732, allocations: 52.09 kB / 0.5891 GB, free: 14.53 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002345/0.3755, allocations: 180.8 kB / 0.5893 GB, free: 14.51 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.3758, allocations: 214.8 kB / 0.5895 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.3758, allocations: 19.77 kB / 0.5895 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.3758, allocations: 14.31 kB / 0.5895 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006128/0.3765, allocations: 315.9 kB / 0.5898 GB, free: 14.08 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3765, allocations: 1.094 kB / 0.5898 GB, free: 14.08 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.595e-05/0.3765, allocations: 7.844 kB / 0.5899 GB, free: 14.08 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.3765, allocations: 8.562 kB / 0.5899 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006874/0.3772, allocations: 263.1 kB / 0.5901 GB, free: 14.01 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.3787, allocations: 1.389 MB / 0.5915 GB, free: 12.72 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006377/0.3794, allocations: 190.6 kB / 0.5917 GB, free: 12.65 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00022/0.3796, allocations: 77.23 kB / 0.5917 GB, free: 12.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.3796, allocations: 2.312 kB / 0.5917 GB, free: 12.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.3797, allocations: 45.31 kB / 0.5918 GB, free: 12.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.213e-06/0.3797, allocations: 0 / 0.5918 GB, free: 12.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007569/0.3804, allocations: 244.4 kB / 0.592 GB, free: 12.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.3805, allocations: 53.78 kB / 0.5921 GB, free: 12.42 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.3806, allocations: 159.3 kB / 0.5922 GB, free: 12.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.3806, allocations: 31.48 kB / 0.5922 GB, free: 12.26 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.973e-05/0.3807, allocations: 124.4 kB / 0.5924 GB, free: 12.15 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.674e-05/0.3807, allocations: 63.52 kB / 0.5924 GB, free: 12.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.265e-05/0.3808, allocations: 54.62 kB / 0.5925 GB, free: 12.06 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.998e-05/0.3809, allocations: 326.4 kB / 0.5928 GB, free: 11.74 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.3811, allocations: 65 kB / 0.5928 GB, free: 11.72 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/0.3814, allocations: 144.4 kB / 0.593 GB, free: 11.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004666/0.3819, allocations: 217 kB / 0.5932 GB, free: 11.46 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.3819, allocations: 3.938 kB / 0.5932 GB, free: 11.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000571/0.3825, allocations: 257.1 kB / 0.5934 GB, free: 11.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.3825, allocations: 5.656 kB / 0.5934 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.3825, allocations: 4.172 kB / 0.5934 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.3825, allocations: 2.781 kB / 0.5934 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003219/0.3828, allocations: 62.42 kB / 0.5935 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.3829, allocations: 4.781 kB / 0.5935 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.3831, allocations: 37.42 kB / 0.5935 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.3831, allocations: 15.75 kB / 0.5936 GB, free: 11.32 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 0.0001003/0.3832, allocations: 130.6 kB / 0.5937 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.186e-05/0.3833, allocations: 16.28 kB / 0.5937 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006078/0.3839, allocations: 230.7 kB / 0.5939 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.3839, allocations: 2.75 kB / 0.5939 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.3839, allocations: 0.75 kB / 0.5939 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.237e-06/0.3839, allocations: 0.7031 kB / 0.5939 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.3842, allocations: 247.3 kB / 0.5942 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.3842, allocations: 1.844 kB / 0.5942 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002777/0.3845, allocations: 43.53 kB / 0.5942 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3845, allocations: 0 / 0.5942 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.3845, allocations: 7.844 kB / 0.5942 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.3845, allocations: 0.6094 kB / 0.5942 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.3845, allocations: 1.219 kB / 0.5942 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005205/0.385, allocations: 305.8 kB / 0.5945 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.851e-05/0.3851, allocations: 100.7 kB / 0.5946 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/0.3852, allocations: 10.27 kB / 0.5946 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.3854, allocations: 13.7 kB / 0.5946 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.712e-05/0.3855, allocations: 14.3 kB / 0.5946 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/0.3855, allocations: 7.562 kB / 0.5946 GB, free: 10.53 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.311e-05/0.3856, allocations: 126.4 kB / 0.5948 GB, free: 10.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3856, allocations: 0.9062 kB / 0.5948 GB, free: 10.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003327/0.3859, allocations: 68.8 kB / 0.5948 GB, free: 10.42 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.0008042/0.3867, allocations: 0.8696 MB / 0.5957 GB, free: 9.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005051/0.3873, allocations: 189 kB / 0.5959 GB, free: 9.629 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3873, allocations: 0 / 0.5959 GB, free: 9.629 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002191/0.3875, allocations: 89.7 kB / 0.596 GB, free: 9.605 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004636/0.388, allocations: 60.36 kB / 0.596 GB, free: 9.586 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002858/0.3908, allocations: 2.147 MB / 0.5981 GB, free: 7.945 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/0.3911, allocations: 0.7182 MB / 0.5988 GB, free: 7.246 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003161/0.3914, allocations: 54.69 kB / 0.5989 GB, free: 7.219 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.3915, allocations: 47.59 kB / 0.5989 GB, free: 7.191 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3915, allocations: 4 kB / 0.5989 GB, free: 7.188 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8151/1.207, allocations: 5.122 MB / 0.6039 GB, free: 4.707 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.002/9.208, allocations: 12.86 kB / 0.6039 GB, free: 4.699 MB / 446.1 MB (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)