Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_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.00925/0.00925, allocations: 103.2 kB / 15.73 MB, free: 6.047 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.001642/0.001642, allocations: 195.7 kB / 16.67 MB, free: 5.977 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9633/0.9633, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 59.91 kB / 0.5851 GB, free: 3.898 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.4123, allocations: 80.92 MB / 0.6641 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.00198/0.4144, allocations: 1.263 MB / 0.6654 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002308/0.4167, allocations: 2.495 MB / 0.6678 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.442e-05/0.4168, allocations: 1.312 kB / 0.6678 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.049e-05/0.4168, allocations: 3.984 kB / 0.6678 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.16e-05/0.4168, allocations: 11.92 kB / 0.6678 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004893/0.4173, allocations: 127.9 kB / 0.6679 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.878e-05/0.4174, allocations: 41.66 kB / 0.668 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.087e-05/0.4175, allocations: 6.438 kB / 0.668 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.586e-05/0.4175, allocations: 22.08 kB / 0.668 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.052e-05/0.4176, allocations: 21.25 kB / 0.668 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.4176, allocations: 2.156 kB / 0.668 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002562/0.4179, allocations: 114 kB / 0.6681 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.349e-05/0.4179, allocations: 9.469 kB / 0.6682 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.784e-05/0.4179, allocations: 15.03 kB / 0.6682 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.4181, allocations: 79.62 kB / 0.6682 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4181, allocations: 1.625 kB / 0.6682 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.332e-06/0.4181, allocations: 0 / 0.6682 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.4181, allocations: 0 / 0.6682 GB, free: 4.148 MB / 0.4981 GB 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.0003262/0.4185, allocations: 349.4 kB / 0.6686 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.4185, allocations: 13.03 kB / 0.6686 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.726e-05/0.4185, allocations: 41.69 kB / 0.6686 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000194/0.4187, allocations: 12.61 kB / 0.6686 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.764e-05/0.4188, allocations: 166.3 kB / 0.6688 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-06/0.4188, allocations: 1.594 kB / 0.6688 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.4189, allocations: 11.66 kB / 0.6688 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.419, allocations: 72.84 kB / 0.6689 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.964e-06/0.419, allocations: 1.594 kB / 0.6689 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.419, allocations: 4 kB / 0.6689 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.419, allocations: 4.969 kB / 0.6689 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.954e-05/0.4191, allocations: 11.27 kB / 0.6689 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004512/0.4195, allocations: 473.8 kB / 0.6694 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.4196, allocations: 78.58 kB / 0.6694 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.448e-05/0.4197, allocations: 22.55 kB / 0.6695 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.096e-06/0.4197, allocations: 1.375 kB / 0.6695 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.568e-05/0.4197, allocations: 37.34 kB / 0.6695 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.283e-06/0.4197, allocations: 0 / 0.6695 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005389/0.4202, allocations: 301.9 kB / 0.6698 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.4203, allocations: 105.3 kB / 0.6699 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.052e-05/0.4203, allocations: 105.6 kB / 0.67 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.4204, allocations: 26.77 kB / 0.67 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.919e-05/0.4204, allocations: 89.89 kB / 0.6701 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.471e-05/0.4204, allocations: 22.66 kB / 0.6701 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.621e-05/0.4205, allocations: 33.14 kB / 0.6701 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.343e-05/0.4205, allocations: 320.3 kB / 0.6704 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.724e-05/0.4205, allocations: 11.86 kB / 0.6705 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.863e-05/0.4206, allocations: 53.08 kB / 0.6705 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.004e-05/0.4207, allocations: 75 kB / 0.6706 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.4207, allocations: 0 / 0.6706 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001216/0.4208, allocations: 98.39 kB / 0.6707 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.4208, allocations: 10.53 kB / 0.6707 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.4208, allocations: 1.344 kB / 0.6707 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.4209, allocations: 2.062 kB / 0.6707 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.557e-05/0.4209, allocations: 24.95 kB / 0.6707 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.4209, allocations: 1.094 kB / 0.6707 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.473e-05/0.421, allocations: 2.188 kB / 0.6707 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.421, allocations: 7.719 kB / 0.6707 GB, free: 1.531 MB / 0.4981 GB 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.458e-05/0.4211, allocations: 119.1 kB / 0.6708 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.831e-05/0.4211, allocations: 19.19 kB / 0.6709 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.713e-05/0.4212, allocations: 8.781 kB / 0.6709 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.4212, allocations: 5.469 kB / 0.6709 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.4212, allocations: 1.188 kB / 0.6709 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.4212, allocations: 1.406 kB / 0.6709 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002818/0.4215, allocations: 181.8 kB / 0.671 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4215, allocations: 1.344 kB / 0.671 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.111e-05/0.4216, allocations: 17.05 kB / 0.6711 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4216, allocations: 5.484 kB / 0.6711 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.4216, allocations: 1.188 kB / 0.6711 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.4216, allocations: 1.5 kB / 0.6711 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4216, allocations: 5.656 kB / 0.6711 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001622/0.4218, allocations: 324.6 kB / 0.6714 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.676e-05/0.4218, allocations: 87.77 kB / 0.6715 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.4218, allocations: 1.156 kB / 0.6715 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.422, allocations: 3.312 kB / 0.6715 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.075e-05/0.422, allocations: 18.64 kB / 0.6715 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.422, allocations: 3.25 kB / 0.6715 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.888e-05/0.4221, allocations: 78.03 kB / 0.6716 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4221, allocations: 0 / 0.6716 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002987/0.4224, allocations: 14.72 kB / 0.6716 GB, free: 0.6562 MB / 0.4981 GB 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.0003765/0.4227, allocations: 0.8633 MB / 0.6724 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001163/0.4229, allocations: 46.95 kB / 0.6725 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.4229, allocations: 0 / 0.6725 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.067e-05/0.4229, allocations: 24.62 kB / 0.6725 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004408/0.4234, allocations: 14.06 kB / 0.6725 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.4249, allocations: 1.695 MB / 0.6742 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.4252, allocations: 0.6823 MB / 0.6748 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.418e-05/0.4253, allocations: 12.14 kB / 0.6748 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.662e-05/0.4253, allocations: 15.34 kB / 0.6749 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.4253, allocations: 0 / 0.6749 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01908/0.4444, allocations: 1.712 MB / 0.6765 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.366/7.811, allocations: 7.344 kB / 0.6765 GB, free: 12.51 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)