Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_dev_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.001003/0.001003, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001038/0.001038, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.319/2.319, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.463/1.463, allocations: 135.2 MB / 426.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006686/0.0006688, allocations: 8 kB / 0.5069 GB, free: 5.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2959, allocations: 82.32 MB / 0.5873 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006966/0.3029, allocations: 3.06 MB / 0.5903 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005289/0.3083, allocations: 2.179 MB / 0.5924 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.3085, allocations: 8 kB / 0.5924 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003628/0.3089, allocations: 31.86 kB / 0.5924 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004014/0.3093, allocations: 75.77 kB / 0.5925 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002541/0.3119, allocations: 458 kB / 0.593 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000511/0.3124, allocations: 176.6 kB / 0.5931 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.361e-05/0.3125, allocations: 9.562 kB / 0.5931 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003573/0.3129, allocations: 103.7 kB / 0.5932 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.3131, allocations: 75.69 kB / 0.5933 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.618e-05/0.3132, allocations: 8 kB / 0.5933 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00158/0.3148, allocations: 395.5 kB / 0.5937 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.3149, allocations: 35.89 kB / 0.5937 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.555e-05/0.315, allocations: 57.58 kB / 0.5938 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007461/0.3158, allocations: 263.6 kB / 0.594 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3158, allocations: 0 / 0.594 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.414e-06/0.3158, allocations: 0 / 0.594 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.3158, allocations: 0 / 0.594 GB, free: 12.09 MB / 0.4981 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.001238/0.3171, allocations: 479 kB / 0.5945 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.049e-05/0.3172, allocations: 12.03 kB / 0.5945 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001046/0.3173, allocations: 50.55 kB / 0.5945 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004161/0.3215, allocations: 187.5 kB / 0.5947 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004716/0.322, allocations: 202.9 kB / 0.5949 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.573e-05/0.3221, allocations: 16.33 kB / 0.5949 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.59e-05/0.3221, allocations: 16 kB / 0.5949 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.3234, allocations: 300.3 kB / 0.5952 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.3234, allocations: 8 kB / 0.5952 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.504e-05/0.3235, allocations: 4 kB / 0.5952 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.219e-05/0.3236, allocations: 11.94 kB / 0.5953 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001483/0.3251, allocations: 255.6 kB / 0.5955 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003027/0.3281, allocations: 1.393 MB / 0.5969 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.3295, allocations: 202.4 kB / 0.5971 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.706e-05/0.3296, allocations: 0 / 0.5971 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.07e-05/0.3297, allocations: 42.48 kB / 0.5971 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 3.457e-06/0.3297, allocations: 0 / 0.5971 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.001596/0.3313, allocations: 255.7 kB / 0.5973 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.3314, allocations: 55.41 kB / 0.5974 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/0.3316, allocations: 150.2 kB / 0.5975 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.552e-05/0.3317, allocations: 29.7 kB / 0.5976 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.3319, allocations: 128 kB / 0.5977 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.332, allocations: 67.09 kB / 0.5977 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.82e-05/0.332, allocations: 4 kB / 0.5978 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002049/0.3323, allocations: 326.8 kB / 0.5981 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004397/0.3327, allocations: 60.41 kB / 0.5981 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005301/0.3333, allocations: 144 kB / 0.5983 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004932/0.3338, allocations: 83.81 kB / 0.5983 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.3338, allocations: 3.938 kB / 0.5983 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00127/0.3351, allocations: 245.3 kB / 0.5986 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.262e-05/0.3351, allocations: 8.875 kB / 0.5986 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.3352, allocations: 4 kB / 0.5986 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.175e-05/0.3352, allocations: 7.953 kB / 0.5986 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007978/0.336, allocations: 71.89 kB / 0.5987 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.77e-05/0.3361, allocations: 4 kB / 0.5987 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005277/0.3366, allocations: 35.92 kB / 0.5987 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.066e-05/0.3367, allocations: 11.98 kB / 0.5987 GB, free: 6.934 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002002/0.3369, allocations: 129.7 kB / 0.5988 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.296e-05/0.337, allocations: 15.91 kB / 0.5989 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00127/0.3382, allocations: 224.6 kB / 0.5991 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.3383, allocations: 0 / 0.5991 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.3383, allocations: 0 / 0.5991 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.3383, allocations: 0 / 0.5991 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000567/0.3389, allocations: 257.7 kB / 0.5993 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.3389, allocations: 0 / 0.5993 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006401/0.3396, allocations: 55.91 kB / 0.5994 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/0.3396, allocations: 3.984 kB / 0.5994 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.297e-05/0.3396, allocations: 3.984 kB / 0.5994 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/0.3396, allocations: 4 kB / 0.5994 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.3397, allocations: 0 / 0.5994 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/0.3408, allocations: 301 kB / 0.5997 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001935/0.341, allocations: 108.9 kB / 0.5998 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.709e-05/0.3411, allocations: 8 kB / 0.5998 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005452/0.3417, allocations: 15.98 kB / 0.5998 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.057e-05/0.3417, allocations: 15.98 kB / 0.5998 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.957e-05/0.3418, allocations: 11.98 kB / 0.5998 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00017/0.342, allocations: 118.1 kB / 0.5999 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.11e-07/0.342, allocations: 0 / 0.5999 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000754/0.3428, allocations: 63.89 kB / 0.6 GB, free: 5.531 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001848/0.3446, allocations: 0.8567 MB / 0.6008 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001048/0.3457, allocations: 186 kB / 0.601 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.3457, allocations: 0 / 0.601 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004551/0.3462, allocations: 91.84 kB / 0.6011 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008188/0.347, allocations: 60.23 kB / 0.6012 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004902/0.3519, allocations: 2.605 MB / 0.6037 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005024/0.3525, allocations: 0.7176 MB / 0.6044 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008114/0.3533, allocations: 57.92 kB / 0.6045 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001989/0.3535, allocations: 47.36 kB / 0.6045 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of SimCode: time 8.92e-07/0.3535, allocations: 0 / 0.6045 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4956/0.8492, allocations: 4.673 MB / 0.6091 GB, free: 48.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003153/0.8496, allocations: 213.3 kB / 0.6093 GB, free: 48.03 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.947/3.796, allocations: 0 / 0.6093 GB, free: 48.03 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) Environment - environmentSimulation: