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.001954/0.001954, allocations: 95.33 kB / 15.68 MB, free: 488 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.003041/0.003041, allocations: 175.8 kB / 16.57 MB, free: 6.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.636/2.636, allocations: 223.2 MB / 240.5 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.239/1.239, allocations: 113.7 MB / 405.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005775/0.0005779, allocations: 8 kB / 493 MB, free: 8.625 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.297, allocations: 77.11 MB / 0.5567 GB, free: 11.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.0221/0.3191, allocations: 2.453 MB / 0.5591 GB, free: 9.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000709/0.3199, allocations: 335.2 kB / 0.5594 GB, free: 8.922 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.609e-05/0.32, allocations: 0 / 0.5594 GB, free: 8.922 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.3202, allocations: 0 / 0.5594 GB, free: 8.922 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.266e-05/0.3203, allocations: 15.91 kB / 0.5594 GB, free: 8.906 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009949/0.3213, allocations: 143.6 kB / 0.5596 GB, free: 8.766 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.3214, allocations: 19.95 kB / 0.5596 GB, free: 8.746 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.474e-05/0.3215, allocations: 4 kB / 0.5596 GB, free: 8.742 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.006e-05/0.3216, allocations: 11.98 kB / 0.5596 GB, free: 8.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.3217, allocations: 4 kB / 0.5596 GB, free: 8.727 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.3217, allocations: 4 kB / 0.5596 GB, free: 8.723 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005111/0.3223, allocations: 103.7 kB / 0.5597 GB, free: 8.621 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.559e-05/0.3223, allocations: 8 kB / 0.5597 GB, free: 8.613 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.664e-05/0.3224, allocations: 25.7 kB / 0.5598 GB, free: 8.582 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002619/0.3227, allocations: 72.14 kB / 0.5598 GB, free: 8.512 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3227, allocations: 0 / 0.5598 GB, free: 8.512 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.3227, allocations: 0 / 0.5598 GB, free: 8.512 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.373e-06/0.3227, allocations: 0 / 0.5598 GB, free: 8.512 MB / 430.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.0005091/0.3232, allocations: 335.4 kB / 0.5601 GB, free: 8.137 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.843e-05/0.3233, allocations: 8.031 kB / 0.5601 GB, free: 8.129 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.566e-05/0.3234, allocations: 30.56 kB / 0.5602 GB, free: 8.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.852e-05/0.3234, allocations: 7.906 kB / 0.5602 GB, free: 8.082 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.3236, allocations: 163.1 kB / 0.5603 GB, free: 7.883 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.504e-05/0.3237, allocations: 37.66 kB / 0.5604 GB, free: 7.84 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.3238, allocations: 7.938 kB / 0.5604 GB, free: 7.832 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.3239, allocations: 41.69 kB / 0.5604 GB, free: 7.785 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.324, allocations: 0 / 0.5604 GB, free: 7.785 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.324, allocations: 0 / 0.5604 GB, free: 7.785 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.671e-05/0.324, allocations: 3.984 kB / 0.5604 GB, free: 7.781 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.061e-05/0.3241, allocations: 15.98 kB / 0.5604 GB, free: 7.766 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008542/0.325, allocations: 0.5755 MB / 0.561 GB, free: 7.066 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.579e-05/0.3251, allocations: 22.52 kB / 0.561 GB, free: 7.035 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003111/0.3254, allocations: 336.5 kB / 0.5613 GB, free: 6.633 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/0.3254, allocations: 30.56 kB / 0.5614 GB, free: 6.594 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.432e-06/0.3255, allocations: 0 / 0.5614 GB, free: 6.594 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002669/0.3257, allocations: 37.69 kB / 0.5614 GB, free: 6.551 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/0.3258, allocations: 51.41 kB / 0.5615 GB, free: 6.488 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.326, allocations: 102 kB / 0.5616 GB, free: 6.379 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.326, allocations: 25.7 kB / 0.5616 GB, free: 6.348 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.771e-05/0.3261, allocations: 103.9 kB / 0.5617 GB, free: 6.242 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.04e-05/0.3261, allocations: 0 / 0.5617 GB, free: 6.242 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-06/0.3261, allocations: 0 / 0.5617 GB, free: 6.242 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.3263, allocations: 314.8 kB / 0.562 GB, free: 5.926 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.106e-05/0.3264, allocations: 4 kB / 0.562 GB, free: 5.922 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.431e-05/0.3264, allocations: 21.7 kB / 0.562 GB, free: 5.895 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.007e-05/0.3265, allocations: 8 kB / 0.562 GB, free: 5.887 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.3265, allocations: 0 / 0.562 GB, free: 5.887 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000146/0.3267, allocations: 53.53 kB / 0.5621 GB, free: 5.828 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.3267, allocations: 4 kB / 0.5621 GB, free: 5.824 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.3267, allocations: 0 / 0.5621 GB, free: 5.824 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.3268, allocations: 4 kB / 0.5621 GB, free: 5.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.917e-05/0.3268, allocations: 4 kB / 0.5621 GB, free: 5.816 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.3269, allocations: 0 / 0.5621 GB, free: 5.816 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.213e-05/0.3269, allocations: 8 kB / 0.5621 GB, free: 5.809 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.327, allocations: 4 kB / 0.5621 GB, free: 5.805 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001341/0.3271, allocations: 109.8 kB / 0.5622 GB, free: 5.688 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.729e-05/0.3272, allocations: 4 kB / 0.5622 GB, free: 5.684 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002049/0.3274, allocations: 121.7 kB / 0.5623 GB, free: 5.551 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.499e-05/0.3275, allocations: 180.3 kB / 0.5625 GB, free: 5.367 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-05/0.3276, allocations: 180.3 kB / 0.5627 GB, free: 5.184 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001046/0.3277, allocations: 184.2 kB / 0.5628 GB, free: 4.996 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003689/0.3281, allocations: 409.2 kB / 0.5632 GB, free: 4.539 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.4e-05/0.3282, allocations: 104.9 kB / 0.5633 GB, free: 4.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.365e-05/0.3283, allocations: 105 kB / 0.5634 GB, free: 4.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.81e-05/0.3284, allocations: 180.3 kB / 0.5636 GB, free: 4.137 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001124/0.3285, allocations: 188.2 kB / 0.5638 GB, free: 3.945 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.69e-05/0.3286, allocations: 180.2 kB / 0.5639 GB, free: 3.762 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001016/0.3288, allocations: 184.2 kB / 0.5641 GB, free: 3.574 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.329, allocations: 307.8 kB / 0.5644 GB, free: 3.25 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.3291, allocations: 193.9 kB / 0.5646 GB, free: 3.035 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.3293, allocations: 176.3 kB / 0.5648 GB, free: 2.855 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000341/0.3296, allocations: 108.9 kB / 0.5649 GB, free: 2.742 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/0.3298, allocations: 188.2 kB / 0.5651 GB, free: 2.551 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-05/0.3299, allocations: 105.2 kB / 0.5652 GB, free: 2.441 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.311e-05/0.33, allocations: 87.28 kB / 0.5652 GB, free: 2.355 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.91e-07/0.33, allocations: 0 / 0.5652 GB, free: 2.355 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005678/0.3306, allocations: 35.98 kB / 0.5653 GB, free: 2.32 MB / 430.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 (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.001017/0.3316, allocations: 0.8652 MB / 0.5661 GB, free: 1.426 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001197/0.3318, allocations: 11.94 kB / 0.5661 GB, free: 1.414 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.3318, allocations: 3.938 kB / 0.5661 GB, free: 1.41 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.449e-06/0.3318, allocations: 0 / 0.5661 GB, free: 1.41 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005856/0.3324, allocations: 0.5331 MB / 0.5667 GB, free: 0.875 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007092/0.3332, allocations: 229.4 kB / 0.5669 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004272/0.3336, allocations: 0.6773 MB / 0.5675 GB, free: 15.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.9e-05/0.3337, allocations: 9.828 kB / 0.5675 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.626e-05/0.3338, allocations: 15.44 kB / 0.5676 GB, free: 15.88 MB / 446.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3338, allocations: 0 / 0.5676 GB, free: 15.88 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1481/0.482, allocations: 1.88 MB / 0.5694 GB, free: 14.23 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003763/0.4824, allocations: 228.7 kB / 0.5696 GB, free: 13.99 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.062/3.545, allocations: 2.922 kB / 0.5696 GB, free: 13.99 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/linux/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) Environment - environmentSimulation: