Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IBPSA_latest_IBPSA_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.001073/0.001073, allocations: 106.3 kB / 15.99 MB, free: 6.359 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.00109/0.00109, allocations: 191.4 kB / 16.91 MB, free: 6.195 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.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6518/0.6518, allocations: 115.3 MB / 406.1 MB, free: 6.402 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 67.88 kB / 493.2 MB, free: 0.6016 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2828, allocations: 76.17 MB / 0.556 GB, free: 36.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.003983/0.2868, allocations: 4.087 MB / 0.56 GB, free: 33.4 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001879/0.2887, allocations: 2.422 MB / 0.5624 GB, free: 31.71 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.848e-05/0.2888, allocations: 0 / 0.5624 GB, free: 31.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002076/0.289, allocations: 40.92 kB / 0.5624 GB, free: 31.69 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001983/0.2892, allocations: 94.62 kB / 0.5625 GB, free: 31.63 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000859/0.2901, allocations: 488.3 kB / 0.563 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002357/0.2903, allocations: 257.9 kB / 0.5632 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.121e-05/0.2904, allocations: 18.84 kB / 0.5632 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.2905, allocations: 114 kB / 0.5633 GB, free: 31.24 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.2906, allocations: 101.6 kB / 0.5634 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.2907, allocations: 11.19 kB / 0.5635 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006286/0.2913, allocations: 464 kB / 0.5639 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.191e-05/0.2914, allocations: 40.19 kB / 0.5639 GB, free: 31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.192e-05/0.2915, allocations: 83.61 kB / 0.564 GB, free: 30.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005254/0.292, allocations: 410.9 kB / 0.5644 GB, free: 30.83 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.292, allocations: 0 / 0.5644 GB, free: 30.83 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.292, allocations: 1.75 kB / 0.5644 GB, free: 30.83 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.292, allocations: 0 / 0.5644 GB, free: 30.83 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.0005957/0.2926, allocations: 0.5071 MB / 0.5649 GB, free: 30.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.2927, allocations: 9.75 kB / 0.5649 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.455e-05/0.2927, allocations: 53.56 kB / 0.565 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001942/0.2947, allocations: 178.8 kB / 0.5651 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.2948, allocations: 209 kB / 0.5653 GB, free: 30.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.2949, allocations: 20.33 kB / 0.5653 GB, free: 30.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/0.2949, allocations: 13.88 kB / 0.5654 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005687/0.2955, allocations: 303.4 kB / 0.5657 GB, free: 29.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.2955, allocations: 6.297 kB / 0.5657 GB, free: 29.9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.256e-05/0.2955, allocations: 8.719 kB / 0.5657 GB, free: 29.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.665e-05/0.2956, allocations: 6.031 kB / 0.5657 GB, free: 29.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00066/0.2962, allocations: 260.2 kB / 0.5659 GB, free: 29.84 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.2974, allocations: 1.395 MB / 0.5673 GB, free: 28.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005772/0.298, allocations: 193.2 kB / 0.5675 GB, free: 28.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/0.2983, allocations: 80.8 kB / 0.5675 GB, free: 28.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.2983, allocations: 3.5 kB / 0.5675 GB, free: 28.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.2983, allocations: 36.3 kB / 0.5676 GB, free: 28.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.293e-06/0.2983, allocations: 1.094 kB / 0.5676 GB, free: 28.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006982/0.299, allocations: 247.8 kB / 0.5678 GB, free: 28.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.242e-05/0.299, allocations: 53.53 kB / 0.5679 GB, free: 28.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.2992, allocations: 163.7 kB / 0.568 GB, free: 28.13 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.2992, allocations: 32.33 kB / 0.5681 GB, free: 28.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.562e-05/0.2992, allocations: 124 kB / 0.5682 GB, free: 27.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/0.2993, allocations: 64 kB / 0.5682 GB, free: 27.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.658e-05/0.2994, allocations: 51.48 kB / 0.5683 GB, free: 27.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.231e-05/0.2994, allocations: 326.1 kB / 0.5686 GB, free: 27.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.2996, allocations: 67.66 kB / 0.5687 GB, free: 27.56 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.2998, allocations: 138.1 kB / 0.5688 GB, free: 27.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004024/0.3002, allocations: 219.5 kB / 0.569 GB, free: 27.31 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3003, allocations: 1.312 kB / 0.569 GB, free: 27.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005276/0.3008, allocations: 250.4 kB / 0.5692 GB, free: 27.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.3008, allocations: 8.688 kB / 0.5693 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.3008, allocations: 7.703 kB / 0.5693 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.3008, allocations: 7.062 kB / 0.5693 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003458/0.3012, allocations: 59.8 kB / 0.5693 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.3012, allocations: 15.11 kB / 0.5693 GB, free: 27.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/0.3014, allocations: 40.84 kB / 0.5694 GB, free: 27.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/0.3015, allocations: 14.58 kB / 0.5694 GB, free: 27.16 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 8.661e-05/0.3016, allocations: 131.1 kB / 0.5695 GB, free: 27.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.925e-05/0.3016, allocations: 11.41 kB / 0.5695 GB, free: 27.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005802/0.3022, allocations: 231 kB / 0.5697 GB, free: 26.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3022, allocations: 3.359 kB / 0.5697 GB, free: 26.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3022, allocations: 0.5938 kB / 0.5697 GB, free: 26.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.3022, allocations: 1.656 kB / 0.5698 GB, free: 26.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.3025, allocations: 244.5 kB / 0.57 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3025, allocations: 1.031 kB / 0.57 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002947/0.3028, allocations: 48.42 kB / 0.57 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.3028, allocations: 1.094 kB / 0.57 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.3028, allocations: 7.031 kB / 0.57 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.3028, allocations: 1.797 kB / 0.57 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3028, allocations: 1.969 kB / 0.57 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004689/0.3033, allocations: 298.2 kB / 0.5703 GB, free: 26.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.977e-05/0.3034, allocations: 106 kB / 0.5704 GB, free: 26.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.383e-05/0.3034, allocations: 9.844 kB / 0.5704 GB, free: 26.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002726/0.3037, allocations: 17.42 kB / 0.5705 GB, free: 26.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.6e-05/0.3037, allocations: 13.27 kB / 0.5705 GB, free: 26.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-05/0.3038, allocations: 10.47 kB / 0.5705 GB, free: 26.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.907e-05/0.3038, allocations: 116.2 kB / 0.5706 GB, free: 26.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3038, allocations: 0 / 0.5706 GB, free: 26.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003369/0.3042, allocations: 64.72 kB / 0.5706 GB, free: 26.29 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.0006998/0.3049, allocations: 0.8664 MB / 0.5715 GB, free: 25.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004889/0.3054, allocations: 192.3 kB / 0.5717 GB, free: 25.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3054, allocations: 3.938 kB / 0.5717 GB, free: 25.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002059/0.3056, allocations: 90.86 kB / 0.5718 GB, free: 25.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004873/0.3061, allocations: 63.52 kB / 0.5718 GB, free: 25.47 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002513/0.3086, allocations: 2.209 MB / 0.574 GB, free: 23.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.3087, allocations: 0.7162 MB / 0.5747 GB, free: 23.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003328/0.3091, allocations: 54 kB / 0.5747 GB, free: 23.03 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.3092, allocations: 47.98 kB / 0.5748 GB, free: 23 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3092, allocations: 0 / 0.5748 GB, free: 23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.569/1.878, allocations: 5.04 MB / 0.5797 GB, free: 22.58 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001201/1.878, allocations: 239.3 kB / 0.5799 GB, free: 22.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.972/3.851, allocations: 7.125 kB / 0.5799 GB, free: 22.32 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)