Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",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.001096/0.001096, allocations: 102.7 kB / 16.27 MB, free: 5.895 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.001098/0.001098, allocations: 185.6 kB / 17.19 MB, free: 5.543 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.334/1.334, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7544/0.7544, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 63.91 kB / 0.4912 GB, free: 7.348 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3095, allocations: 77.92 MB / 0.5673 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004006/0.3136, allocations: 3.269 MB / 0.5705 GB, free: 30.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 8.363e-05/0.3137, allocations: 58.84 kB / 0.5705 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.221e-05/0.3137, allocations: 1.188 kB / 0.5705 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.877e-05/0.3138, allocations: 1.969 kB / 0.5705 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.364e-05/0.3139, allocations: 14.05 kB / 0.5705 GB, free: 30.35 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004466/0.3143, allocations: 186 kB / 0.5707 GB, free: 30.26 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.861e-05/0.3144, allocations: 38.02 kB / 0.5708 GB, free: 30.24 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.166e-05/0.3144, allocations: 5.469 kB / 0.5708 GB, free: 30.24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.456e-05/0.3145, allocations: 18.12 kB / 0.5708 GB, free: 30.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.548e-05/0.3145, allocations: 15.38 kB / 0.5708 GB, free: 30.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.3146, allocations: 1.188 kB / 0.5708 GB, free: 30.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003223/0.3149, allocations: 168.3 kB / 0.571 GB, free: 30.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.782e-05/0.3149, allocations: 4.719 kB / 0.571 GB, free: 30.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.397e-05/0.315, allocations: 13.95 kB / 0.571 GB, free: 30.15 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002533/0.3152, allocations: 136.1 kB / 0.5711 GB, free: 30.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3152, allocations: 3.938 kB / 0.5711 GB, free: 30.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3152, allocations: 1.812 kB / 0.5711 GB, free: 30.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.3153, allocations: 0 / 0.5711 GB, free: 30.11 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002904/0.3155, allocations: 351.4 kB / 0.5714 GB, free: 29.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.3156, allocations: 9 kB / 0.5715 GB, free: 29.75 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.01e-05/0.3156, allocations: 32.72 kB / 0.5715 GB, free: 29.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.009e-05/0.3157, allocations: 2.578 kB / 0.5715 GB, free: 29.71 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.061e-05/0.3157, allocations: 162.7 kB / 0.5716 GB, free: 29.51 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.513e-05/0.3158, allocations: 30.2 kB / 0.5717 GB, free: 29.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.185e-06/0.3158, allocations: 5.719 kB / 0.5717 GB, free: 29.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.3159, allocations: 51.91 kB / 0.5717 GB, free: 29.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.3159, allocations: 0 / 0.5717 GB, free: 29.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.3159, allocations: 2.094 kB / 0.5717 GB, free: 29.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.316, allocations: 1.281 kB / 0.5717 GB, free: 29.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.337e-05/0.316, allocations: 17.88 kB / 0.5718 GB, free: 29.43 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000438/0.3164, allocations: 0.5808 MB / 0.5723 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.892e-05/0.3165, allocations: 19.7 kB / 0.5723 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.129e-05/0.3165, allocations: 5.953 kB / 0.5723 GB, free: 28.74 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001507/0.3167, allocations: 344.5 kB / 0.5727 GB, free: 28.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/0.3167, allocations: 36.06 kB / 0.5727 GB, free: 28.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.3167, allocations: 0 / 0.5727 GB, free: 28.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001197/0.3168, allocations: 35.92 kB / 0.5727 GB, free: 28.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.052e-05/0.3168, allocations: 55.41 kB / 0.5728 GB, free: 28.22 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.193e-05/0.3169, allocations: 106.4 kB / 0.5729 GB, free: 28.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.265e-06/0.3169, allocations: 31.27 kB / 0.5729 GB, free: 28.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.376e-05/0.3169, allocations: 87.03 kB / 0.573 GB, free: 27.99 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.01e-06/0.317, allocations: 5.938 kB / 0.573 GB, free: 27.99 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.563e-05/0.317, allocations: 16.8 kB / 0.573 GB, free: 27.97 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.361e-05/0.317, allocations: 321.4 kB / 0.5733 GB, free: 27.65 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.357e-05/0.317, allocations: 2 kB / 0.5733 GB, free: 27.65 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.958e-05/0.3171, allocations: 23.06 kB / 0.5734 GB, free: 27.63 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.937e-05/0.3171, allocations: 22.16 kB / 0.5734 GB, free: 27.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.3171, allocations: 0 / 0.5734 GB, free: 27.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.73e-05/0.3172, allocations: 51.33 kB / 0.5734 GB, free: 27.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.3172, allocations: 8.406 kB / 0.5734 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/0.3172, allocations: 2.469 kB / 0.5734 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.3172, allocations: 1 kB / 0.5734 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.971e-05/0.3173, allocations: 5.594 kB / 0.5734 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.3173, allocations: 0 / 0.5734 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.781e-05/0.3173, allocations: 2.281 kB / 0.5734 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.3173, allocations: 1.719 kB / 0.5734 GB, free: 27.57 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 4.228e-05/0.3174, allocations: 117.3 kB / 0.5736 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.3174, allocations: 5.156 kB / 0.5736 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.032e-05/0.3175, allocations: 120.9 kB / 0.5737 GB, free: 27.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.895e-05/0.3175, allocations: 179.1 kB / 0.5739 GB, free: 27.15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.068e-05/0.3175, allocations: 181.7 kB / 0.574 GB, free: 26.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.881e-05/0.3175, allocations: 183.4 kB / 0.5742 GB, free: 26.78 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.3177, allocations: 413 kB / 0.5746 GB, free: 26.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/0.3177, allocations: 109.4 kB / 0.5747 GB, free: 26.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.051e-05/0.3177, allocations: 101 kB / 0.5748 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.988e-05/0.3177, allocations: 183.3 kB / 0.575 GB, free: 25.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.3178, allocations: 178.9 kB / 0.5751 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-05/0.3178, allocations: 182.2 kB / 0.5753 GB, free: 25.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.767e-05/0.3178, allocations: 182 kB / 0.5755 GB, free: 25.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.808e-05/0.3179, allocations: 313.4 kB / 0.5758 GB, free: 25.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.597e-05/0.3179, allocations: 184.9 kB / 0.576 GB, free: 24.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/0.3179, allocations: 178.1 kB / 0.5761 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.3181, allocations: 111.5 kB / 0.5762 GB, free: 24.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.076e-05/0.3181, allocations: 178.6 kB / 0.5764 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.3181, allocations: 106.9 kB / 0.5765 GB, free: 24.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.867e-05/0.3181, allocations: 91.14 kB / 0.5766 GB, free: 24.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3182, allocations: 0.5 kB / 0.5766 GB, free: 24.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002744/0.3184, allocations: 36.98 kB / 0.5766 GB, free: 24.19 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 (0): * Single equations (assignments): 0 * 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.0003022/0.3187, allocations: 0.8693 MB / 0.5775 GB, free: 23.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.697e-05/0.3188, allocations: 10.67 kB / 0.5775 GB, free: 23.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3188, allocations: 1.219 kB / 0.5775 GB, free: 23.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.3188, allocations: 0.7812 kB / 0.5775 GB, free: 23.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.3192, allocations: 466 kB / 0.5779 GB, free: 22.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006877/0.3198, allocations: 1.33 MB / 0.5792 GB, free: 21.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.495e-05/0.32, allocations: 0.6761 MB / 0.5799 GB, free: 20.87 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.248e-05/0.32, allocations: 10.03 kB / 0.5799 GB, free: 20.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.948e-05/0.32, allocations: 11.39 kB / 0.5799 GB, free: 20.86 MB / 446.1 MB Notification: Performance of SimCode: time 2.7e-07/0.32, allocations: 3.938 kB / 0.5799 GB, free: 20.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04663/0.3667, allocations: 2.125 MB / 0.582 GB, free: 20.44 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.642/9.009, allocations: 9 kB / 0.582 GB, free: 20.44 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)