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.001263/0.001263, allocations: 102.4 kB / 15.98 MB, free: 5.863 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.001042/0.001042, allocations: 196.6 kB / 16.91 MB, free: 5.727 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.252/1.252, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6855/0.6855, allocations: 115.3 MB / 406.1 MB, free: 6.34 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.89 kB / 493.2 MB, free: 0.6055 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3029, allocations: 76.18 MB / 0.556 GB, free: 36.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001907/0.3048, allocations: 1.312 MB / 0.5573 GB, free: 35.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002074/0.3069, allocations: 2.478 MB / 0.5597 GB, free: 33.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.904e-05/0.3069, allocations: 0.5 kB / 0.5597 GB, free: 33.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.728e-05/0.307, allocations: 3.594 kB / 0.5597 GB, free: 33.55 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.573e-05/0.307, allocations: 4.641 kB / 0.5597 GB, free: 33.55 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004307/0.3074, allocations: 113.8 kB / 0.5598 GB, free: 33.49 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.946e-05/0.3075, allocations: 39.12 kB / 0.5599 GB, free: 33.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.983e-05/0.3076, allocations: 6.344 kB / 0.5599 GB, free: 33.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.774e-05/0.3076, allocations: 16.11 kB / 0.5599 GB, free: 33.47 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.626e-05/0.3077, allocations: 22.12 kB / 0.5599 GB, free: 33.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.3077, allocations: 2.562 kB / 0.5599 GB, free: 33.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002403/0.3079, allocations: 112.9 kB / 0.56 GB, free: 33.42 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.371e-05/0.3079, allocations: 11.77 kB / 0.56 GB, free: 33.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.442e-05/0.308, allocations: 12.38 kB / 0.5601 GB, free: 33.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.3081, allocations: 83.94 kB / 0.5601 GB, free: 33.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3082, allocations: 5.297 kB / 0.5601 GB, free: 33.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3082, allocations: 0.7812 kB / 0.5601 GB, free: 33.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.3082, allocations: 3.938 kB / 0.5601 GB, free: 33.38 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.00028/0.3085, allocations: 358 kB / 0.5605 GB, free: 33 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.3085, allocations: 9.875 kB / 0.5605 GB, free: 33 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.698e-05/0.3085, allocations: 37.61 kB / 0.5605 GB, free: 32.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001844/0.3087, allocations: 17.23 kB / 0.5606 GB, free: 32.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.621e-05/0.3088, allocations: 165.5 kB / 0.5607 GB, free: 32.76 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.3088, allocations: 7.094 kB / 0.5607 GB, free: 32.76 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.3088, allocations: 4.297 kB / 0.5607 GB, free: 32.76 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.3089, allocations: 79.59 kB / 0.5608 GB, free: 32.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.3089, allocations: 2.141 kB / 0.5608 GB, free: 32.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.309, allocations: 0 / 0.5608 GB, free: 32.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.309, allocations: 1.094 kB / 0.5608 GB, free: 32.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.691e-05/0.309, allocations: 14.67 kB / 0.5608 GB, free: 32.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004172/0.3094, allocations: 473 kB / 0.5613 GB, free: 32.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.3096, allocations: 75.94 kB / 0.5613 GB, free: 32.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.176e-05/0.3096, allocations: 22.19 kB / 0.5614 GB, free: 32.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.969e-06/0.3096, allocations: 0 / 0.5614 GB, free: 32.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.3096, allocations: 38.28 kB / 0.5614 GB, free: 32.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.3096, allocations: 0.7188 kB / 0.5614 GB, free: 32.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004886/0.3101, allocations: 303.1 kB / 0.5617 GB, free: 31.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.3102, allocations: 113.3 kB / 0.5618 GB, free: 31.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.105e-05/0.3102, allocations: 97.67 kB / 0.5619 GB, free: 31.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.3102, allocations: 30.89 kB / 0.5619 GB, free: 31.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.091e-05/0.3102, allocations: 86.91 kB / 0.562 GB, free: 31.42 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.3103, allocations: 28.98 kB / 0.562 GB, free: 31.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.425e-05/0.3103, allocations: 27.81 kB / 0.5621 GB, free: 31.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.6e-05/0.3103, allocations: 318.8 kB / 0.5624 GB, free: 31.06 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.638e-05/0.3104, allocations: 13.78 kB / 0.5624 GB, free: 31.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.455e-05/0.3104, allocations: 50.23 kB / 0.5624 GB, free: 31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.588e-05/0.3105, allocations: 80.94 kB / 0.5625 GB, free: 30.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.3105, allocations: 0.5156 kB / 0.5625 GB, free: 30.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001173/0.3106, allocations: 91.41 kB / 0.5626 GB, free: 30.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.3106, allocations: 6.469 kB / 0.5626 GB, free: 30.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3106, allocations: 0.9062 kB / 0.5626 GB, free: 30.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.3107, allocations: 7.5 kB / 0.5626 GB, free: 30.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.562e-05/0.3107, allocations: 19.77 kB / 0.5626 GB, free: 30.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.3108, allocations: 2.219 kB / 0.5626 GB, free: 30.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.835e-05/0.3108, allocations: 6.781 kB / 0.5626 GB, free: 30.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.016e-06/0.3108, allocations: 12.73 kB / 0.5626 GB, free: 30.87 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 4.86e-05/0.3109, allocations: 119 kB / 0.5627 GB, free: 30.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.813e-05/0.3109, allocations: 13.53 kB / 0.5628 GB, free: 30.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.596e-05/0.311, allocations: 10.09 kB / 0.5628 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.311, allocations: 1.984 kB / 0.5628 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.311, allocations: 2.594 kB / 0.5628 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.311, allocations: 2.047 kB / 0.5628 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002871/0.3113, allocations: 181.1 kB / 0.563 GB, free: 30.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.3113, allocations: 2.547 kB / 0.563 GB, free: 30.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.518e-05/0.3114, allocations: 23.34 kB / 0.563 GB, free: 30.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.3114, allocations: 1.094 kB / 0.563 GB, free: 30.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.3114, allocations: 4.078 kB / 0.563 GB, free: 30.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.3114, allocations: 1.844 kB / 0.563 GB, free: 30.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3114, allocations: 1.25 kB / 0.563 GB, free: 30.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001505/0.3116, allocations: 329.8 kB / 0.5633 GB, free: 30.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.278e-05/0.3116, allocations: 83.09 kB / 0.5634 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.3116, allocations: 6.219 kB / 0.5634 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.3118, allocations: 4.969 kB / 0.5634 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.54e-05/0.3119, allocations: 7.891 kB / 0.5634 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.3119, allocations: 4.156 kB / 0.5634 GB, free: 30.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.85e-05/0.3119, allocations: 82.08 kB / 0.5635 GB, free: 30.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3119, allocations: 1.656 kB / 0.5635 GB, free: 30.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003144/0.3122, allocations: 11.2 kB / 0.5635 GB, free: 30.04 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.0002789/0.3125, allocations: 0.8701 MB / 0.5643 GB, free: 29.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000107/0.3126, allocations: 48.36 kB / 0.5644 GB, free: 29.19 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3126, allocations: 1.75 kB / 0.5644 GB, free: 29.19 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.458e-05/0.3127, allocations: 13.34 kB / 0.5644 GB, free: 29.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004156/0.3131, allocations: 18.81 kB / 0.5644 GB, free: 29.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.3142, allocations: 1.701 MB / 0.5661 GB, free: 27.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.893e-05/0.3143, allocations: 0.6838 MB / 0.5667 GB, free: 26.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.538e-05/0.3144, allocations: 15.91 kB / 0.5668 GB, free: 26.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.072e-05/0.3144, allocations: 16.66 kB / 0.5668 GB, free: 26.89 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3144, allocations: 0 / 0.5668 GB, free: 26.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01243/0.3269, allocations: 1.6 MB / 0.5683 GB, free: 26.66 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001393/0.327, allocations: 236.8 kB / 0.5686 GB, free: 26.41 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/2.088, allocations: 6.438 kB / 0.5686 GB, free: 26.41 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)