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.001351/0.001351, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00135/0.00135, allocations: 193.6 kB / 16.14 MB, free: 6.707 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.104/1.104, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6588/0.6588, allocations: 132.2 MB / 422.1 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 69.28 kB / 0.5012 GB, free: 4.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.3642, allocations: 80.2 MB / 0.5795 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.00483/0.3691, allocations: 4.1 MB / 0.5835 GB, free: 1.641 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003213/0.3723, allocations: 2.455 MB / 0.5859 GB, free: 15.92 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001814/0.3726, allocations: 1.219 kB / 0.5859 GB, free: 15.92 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003661/0.3729, allocations: 44.86 kB / 0.5859 GB, free: 15.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004004/0.3734, allocations: 89.67 kB / 0.586 GB, free: 15.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001492/0.3749, allocations: 487.3 kB / 0.5865 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004609/0.3754, allocations: 336.2 kB / 0.5868 GB, free: 15.47 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.322e-05/0.3754, allocations: 18.09 kB / 0.5868 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000313/0.3757, allocations: 110.8 kB / 0.5869 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002369/0.376, allocations: 98.86 kB / 0.587 GB, free: 15.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.586e-05/0.376, allocations: 7.219 kB / 0.587 GB, free: 15.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001506/0.3776, allocations: 460.4 kB / 0.5875 GB, free: 15.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.388e-05/0.3777, allocations: 36.02 kB / 0.5875 GB, free: 15.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.3778, allocations: 83.72 kB / 0.5876 GB, free: 15.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007804/0.3786, allocations: 414 kB / 0.588 GB, free: 15.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3786, allocations: 4.609 kB / 0.588 GB, free: 15.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.3786, allocations: 1.375 kB / 0.588 GB, free: 15.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.3786, allocations: 0 / 0.588 GB, free: 15.02 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.0007279/0.3793, allocations: 0.5 MB / 0.5885 GB, free: 14.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.3794, allocations: 9.781 kB / 0.5885 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.516e-05/0.3795, allocations: 57.03 kB / 0.5885 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001954/0.3814, allocations: 180.7 kB / 0.5887 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.3817, allocations: 210.1 kB / 0.5889 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.097e-05/0.3817, allocations: 16.52 kB / 0.5889 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.927e-05/0.3818, allocations: 14.31 kB / 0.5889 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006623/0.3824, allocations: 312 kB / 0.5892 GB, free: 14.08 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.3824, allocations: 1.375 kB / 0.5892 GB, free: 14.08 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.553e-05/0.3825, allocations: 11.28 kB / 0.5893 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.819e-05/0.3825, allocations: 5.953 kB / 0.5893 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007202/0.3832, allocations: 261.5 kB / 0.5895 GB, free: 14.01 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001531/0.3848, allocations: 1.389 MB / 0.5909 GB, free: 12.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006393/0.3854, allocations: 197.9 kB / 0.5911 GB, free: 12.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002251/0.3857, allocations: 76.89 kB / 0.5911 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.3857, allocations: 6.359 kB / 0.5911 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.3857, allocations: 37.42 kB / 0.5912 GB, free: 12.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 2.735e-06/0.3857, allocations: 4.812 kB / 0.5912 GB, free: 12.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007697/0.3865, allocations: 246.1 kB / 0.5914 GB, free: 12.47 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.3866, allocations: 58.16 kB / 0.5915 GB, free: 12.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.3867, allocations: 155.4 kB / 0.5916 GB, free: 12.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.3867, allocations: 31.77 kB / 0.5916 GB, free: 12.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.969e-05/0.3868, allocations: 127 kB / 0.5918 GB, free: 12.13 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.497e-05/0.3869, allocations: 60.64 kB / 0.5918 GB, free: 12.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.505e-05/0.387, allocations: 53.95 kB / 0.5919 GB, free: 12.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.635e-05/0.3871, allocations: 330.4 kB / 0.5922 GB, free: 11.72 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.3873, allocations: 65.64 kB / 0.5923 GB, free: 11.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/0.3876, allocations: 140.5 kB / 0.5924 GB, free: 11.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004704/0.388, allocations: 216 kB / 0.5926 GB, free: 11.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.3881, allocations: 4.844 kB / 0.5926 GB, free: 11.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005906/0.3887, allocations: 248.3 kB / 0.5928 GB, free: 11.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.3887, allocations: 9.469 kB / 0.5928 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.3887, allocations: 2.594 kB / 0.5928 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.3887, allocations: 4.75 kB / 0.5929 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003575/0.3891, allocations: 62.64 kB / 0.5929 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.3891, allocations: 7.469 kB / 0.5929 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000254/0.3894, allocations: 36.34 kB / 0.593 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.679e-05/0.3894, allocations: 15 kB / 0.593 GB, free: 11.31 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.0001081/0.3895, allocations: 134.1 kB / 0.5931 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.523e-05/0.3896, allocations: 16.66 kB / 0.5931 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006246/0.3902, allocations: 224.2 kB / 0.5933 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.3902, allocations: 2.375 kB / 0.5933 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3902, allocations: 0 / 0.5933 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.3902, allocations: 1.266 kB / 0.5933 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002776/0.3905, allocations: 251.2 kB / 0.5936 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3905, allocations: 2.062 kB / 0.5936 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003095/0.3909, allocations: 54.36 kB / 0.5936 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.3909, allocations: 1.312 kB / 0.5936 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.3909, allocations: 6.922 kB / 0.5936 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.3909, allocations: 2.219 kB / 0.5936 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3909, allocations: 0.7969 kB / 0.5936 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005357/0.3914, allocations: 298.6 kB / 0.5939 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.142e-05/0.3915, allocations: 105 kB / 0.594 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.608e-05/0.3916, allocations: 6.547 kB / 0.594 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002787/0.3919, allocations: 15.22 kB / 0.594 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.01e-05/0.3919, allocations: 13.62 kB / 0.5941 GB, free: 10.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/0.3919, allocations: 7.938 kB / 0.5941 GB, free: 10.51 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.226e-05/0.392, allocations: 124.2 kB / 0.5942 GB, free: 10.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.392, allocations: 4 kB / 0.5942 GB, free: 10.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003643/0.3924, allocations: 67.45 kB / 0.5942 GB, free: 10.4 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.0008265/0.3932, allocations: 0.8541 MB / 0.5951 GB, free: 9.684 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004858/0.3937, allocations: 184 kB / 0.5953 GB, free: 9.637 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3937, allocations: 0 / 0.5953 GB, free: 9.637 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002158/0.394, allocations: 88.56 kB / 0.5953 GB, free: 9.613 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004944/0.3945, allocations: 63.08 kB / 0.5954 GB, free: 9.594 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002986/0.3975, allocations: 2.203 MB / 0.5976 GB, free: 7.895 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.3977, allocations: 0.7187 MB / 0.5983 GB, free: 7.195 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003527/0.3981, allocations: 50.59 kB / 0.5983 GB, free: 7.172 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.3982, allocations: 47.75 kB / 0.5983 GB, free: 7.145 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3982, allocations: 0 / 0.5983 GB, free: 7.145 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4707/0.8689, allocations: 4.884 MB / 0.6031 GB, free: 4.918 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003149/0.8693, allocations: 225.8 kB / 0.6033 GB, free: 4.664 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.001/2.87, allocations: 3.281 kB / 0.6033 GB, free: 4.664 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)