Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",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.001118/0.001118, allocations: 103.4 kB / 16.27 MB, free: 5.977 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.001175/0.001176, allocations: 188.5 kB / 17.19 MB, free: 5.605 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.311/1.311, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7785/0.7785, allocations: 122.9 MB / 413.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 59.91 kB / 0.4912 GB, free: 7.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3225, allocations: 77.93 MB / 0.5673 GB, free: 32.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.0021/0.3246, allocations: 1.254 MB / 0.5685 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002779/0.3274, allocations: 2.49 MB / 0.5709 GB, free: 30.19 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.437e-05/0.3274, allocations: 1.125 kB / 0.5709 GB, free: 30.19 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.384e-05/0.3275, allocations: 1.719 kB / 0.5709 GB, free: 30.19 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.435e-05/0.3275, allocations: 10.75 kB / 0.5709 GB, free: 30.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004665/0.328, allocations: 131.4 kB / 0.5711 GB, free: 30.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.188e-05/0.3281, allocations: 33.58 kB / 0.5711 GB, free: 30.1 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.655e-05/0.3281, allocations: 4.453 kB / 0.5711 GB, free: 30.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.035e-05/0.3281, allocations: 19.95 kB / 0.5711 GB, free: 30.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.414e-05/0.3282, allocations: 18.23 kB / 0.5711 GB, free: 30.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.3282, allocations: 2.062 kB / 0.5711 GB, free: 30.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002759/0.3285, allocations: 117.3 kB / 0.5713 GB, free: 30.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.655e-05/0.3285, allocations: 8.016 kB / 0.5713 GB, free: 30.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.812e-05/0.3286, allocations: 16.33 kB / 0.5713 GB, free: 30.03 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.3288, allocations: 80.73 kB / 0.5714 GB, free: 30.01 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3288, allocations: 1.438 kB / 0.5714 GB, free: 30.01 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3288, allocations: 0.7188 kB / 0.5714 GB, free: 30.01 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.3288, allocations: 0 / 0.5714 GB, free: 30.01 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000338/0.3291, allocations: 364.8 kB / 0.5717 GB, free: 29.63 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.3292, allocations: 10.25 kB / 0.5717 GB, free: 29.63 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.796e-05/0.3292, allocations: 37.42 kB / 0.5718 GB, free: 29.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002105/0.3294, allocations: 13.38 kB / 0.5718 GB, free: 29.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.333e-05/0.3295, allocations: 167 kB / 0.5719 GB, free: 29.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.3295, allocations: 2.625 kB / 0.5719 GB, free: 29.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.3296, allocations: 4.953 kB / 0.5719 GB, free: 29.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.3297, allocations: 73.47 kB / 0.572 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.3297, allocations: 0 / 0.572 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.3297, allocations: 2.328 kB / 0.572 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3298, allocations: 5.875 kB / 0.572 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.175e-05/0.3298, allocations: 12.55 kB / 0.572 GB, free: 29.31 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004708/0.3303, allocations: 476.5 kB / 0.5725 GB, free: 28.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.3304, allocations: 76.12 kB / 0.5726 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.516e-05/0.3304, allocations: 20.92 kB / 0.5726 GB, free: 28.72 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.127e-06/0.3304, allocations: 2.031 kB / 0.5726 GB, free: 28.72 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.504e-05/0.3305, allocations: 38.14 kB / 0.5726 GB, free: 28.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.3305, allocations: 1.125 kB / 0.5726 GB, free: 28.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005952/0.3311, allocations: 299.6 kB / 0.5729 GB, free: 28.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.3311, allocations: 105.5 kB / 0.573 GB, free: 28.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.903e-05/0.3312, allocations: 104.7 kB / 0.5731 GB, free: 28.17 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.3312, allocations: 31.48 kB / 0.5731 GB, free: 28.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.356e-05/0.3312, allocations: 82.8 kB / 0.5732 GB, free: 28.05 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.3313, allocations: 29.11 kB / 0.5732 GB, free: 28.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.3313, allocations: 27.22 kB / 0.5733 GB, free: 28.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.384e-05/0.3314, allocations: 320.4 kB / 0.5736 GB, free: 27.69 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.764e-05/0.3314, allocations: 13.02 kB / 0.5736 GB, free: 27.69 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.375e-05/0.3315, allocations: 54.11 kB / 0.5736 GB, free: 27.63 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.3316, allocations: 80.95 kB / 0.5737 GB, free: 27.56 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3316, allocations: 4 kB / 0.5737 GB, free: 27.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001743/0.3318, allocations: 97.09 kB / 0.5738 GB, free: 27.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.3318, allocations: 5.906 kB / 0.5738 GB, free: 27.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3318, allocations: 1.75 kB / 0.5738 GB, free: 27.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.3318, allocations: 2.531 kB / 0.5738 GB, free: 27.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.435e-05/0.3319, allocations: 22.42 kB / 0.5738 GB, free: 27.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3319, allocations: 7.062 kB / 0.5738 GB, free: 27.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.773e-05/0.332, allocations: 6.938 kB / 0.5738 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.332, allocations: 9.406 kB / 0.5739 GB, free: 27.49 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 5.305e-05/0.3321, allocations: 114.9 kB / 0.574 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.245e-05/0.3321, allocations: 6.641 kB / 0.574 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.553e-05/0.3322, allocations: 11.94 kB / 0.574 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3322, allocations: 1.703 kB / 0.574 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3322, allocations: 1.156 kB / 0.574 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.3322, allocations: 2.438 kB / 0.574 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002902/0.3325, allocations: 185.8 kB / 0.5742 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3325, allocations: 1.781 kB / 0.5742 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.628e-05/0.3326, allocations: 15.64 kB / 0.5742 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.3326, allocations: 4.656 kB / 0.5742 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.3326, allocations: 2.406 kB / 0.5742 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3326, allocations: 1.156 kB / 0.5742 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.3326, allocations: 0.9062 kB / 0.5742 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.3328, allocations: 328.6 kB / 0.5745 GB, free: 26.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.63e-05/0.3328, allocations: 86.41 kB / 0.5746 GB, free: 26.76 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.3329, allocations: 7.266 kB / 0.5746 GB, free: 26.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.333, allocations: 3.656 kB / 0.5746 GB, free: 26.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.221e-05/0.3331, allocations: 9.547 kB / 0.5746 GB, free: 26.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.3331, allocations: 7.531 kB / 0.5746 GB, free: 26.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.985e-05/0.3331, allocations: 79.53 kB / 0.5747 GB, free: 26.67 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3331, allocations: 0.9062 kB / 0.5747 GB, free: 26.67 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003323/0.3334, allocations: 9.688 kB / 0.5747 GB, free: 26.67 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0002958/0.3337, allocations: 0.8694 MB / 0.5755 GB, free: 25.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001101/0.3339, allocations: 47.3 kB / 0.5756 GB, free: 25.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3339, allocations: 0 / 0.5756 GB, free: 25.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.473e-05/0.3339, allocations: 16.72 kB / 0.5756 GB, free: 25.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004405/0.3344, allocations: 25.28 kB / 0.5756 GB, free: 25.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.3357, allocations: 1.688 MB / 0.5773 GB, free: 24.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.3359, allocations: 0.6821 MB / 0.5779 GB, free: 23.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.956e-05/0.3359, allocations: 12.69 kB / 0.578 GB, free: 23.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.182e-05/0.336, allocations: 15.7 kB / 0.578 GB, free: 23.53 MB / 446.1 MB Notification: Performance of SimCode: time 2.7e-07/0.336, allocations: 0.8438 kB / 0.578 GB, free: 23.53 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02086/0.3568, allocations: 1.667 MB / 0.5796 GB, free: 23.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.934/10.29, allocations: 11.42 kB / 0.5796 GB, free: 23.18 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)