Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IDEAS_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.009096/0.009096, allocations: 100.5 kB / 15.73 MB, free: 6.051 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.001477/0.001477, allocations: 199.3 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.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8307/0.8307, allocations: 132.2 MB / 422.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 59.84 kB / 0.5808 GB, free: 8.102 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4672/0.4692, allocations: 80.2 MB / 0.6592 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002103/0.4714, allocations: 1.267 MB / 0.6604 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002715/0.4741, allocations: 2.493 MB / 0.6628 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.604e-05/0.4742, allocations: 0 / 0.6628 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.152e-05/0.4742, allocations: 0.7031 kB / 0.6628 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.146e-05/0.4743, allocations: 10.09 kB / 0.6628 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005664/0.4749, allocations: 138.7 kB / 0.663 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.307e-05/0.475, allocations: 39.06 kB / 0.663 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.011e-05/0.475, allocations: 7.703 kB / 0.663 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.666e-05/0.4751, allocations: 15.5 kB / 0.663 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.223e-05/0.4751, allocations: 21.61 kB / 0.6631 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.4752, allocations: 2 kB / 0.6631 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003073/0.4755, allocations: 121 kB / 0.6632 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.637e-05/0.4755, allocations: 4.203 kB / 0.6632 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.191e-05/0.4755, allocations: 16.02 kB / 0.6632 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.4757, allocations: 84.28 kB / 0.6633 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4758, allocations: 4 kB / 0.6633 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4758, allocations: 0 / 0.6633 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.4758, allocations: 0 / 0.6633 GB, free: 7.047 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.0003471/0.4761, allocations: 349.4 kB / 0.6636 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.4762, allocations: 9.781 kB / 0.6636 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.306e-05/0.4762, allocations: 36.48 kB / 0.6637 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00021/0.4764, allocations: 16.09 kB / 0.6637 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.844e-05/0.4765, allocations: 163.1 kB / 0.6638 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.4765, allocations: 6.75 kB / 0.6638 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.4766, allocations: 8 kB / 0.6638 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.4767, allocations: 75.14 kB / 0.6639 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.4767, allocations: 5.531 kB / 0.6639 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.4767, allocations: 0.75 kB / 0.6639 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.4767, allocations: 1.281 kB / 0.6639 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.042e-05/0.4768, allocations: 12.73 kB / 0.6639 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004866/0.4773, allocations: 470.2 kB / 0.6644 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.4774, allocations: 78.39 kB / 0.6644 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.625e-05/0.4774, allocations: 31.41 kB / 0.6645 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.4774, allocations: 0 / 0.6645 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.4775, allocations: 37.28 kB / 0.6645 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.4775, allocations: 0 / 0.6645 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005488/0.478, allocations: 306.5 kB / 0.6648 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.4781, allocations: 104.5 kB / 0.6649 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.542e-05/0.4781, allocations: 98.86 kB / 0.665 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.4781, allocations: 25.7 kB / 0.665 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.827e-05/0.4782, allocations: 93.53 kB / 0.6651 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.4782, allocations: 26.59 kB / 0.6651 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.652e-05/0.4782, allocations: 26.64 kB / 0.6652 GB, free: 5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.563e-05/0.4783, allocations: 324 kB / 0.6655 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.94e-05/0.4783, allocations: 12.28 kB / 0.6655 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.264e-05/0.4784, allocations: 51.78 kB / 0.6655 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.768e-05/0.4785, allocations: 78.58 kB / 0.6656 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4785, allocations: 5.281 kB / 0.6656 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001247/0.4786, allocations: 93.95 kB / 0.6657 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.4786, allocations: 5.375 kB / 0.6657 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.4786, allocations: 2.812 kB / 0.6657 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.4786, allocations: 1.344 kB / 0.6657 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.189e-05/0.4787, allocations: 21.2 kB / 0.6657 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.4787, allocations: 5.469 kB / 0.6657 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.991e-05/0.4788, allocations: 2.719 kB / 0.6657 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.4788, allocations: 8.562 kB / 0.6658 GB, free: 4.465 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.86e-05/0.4789, allocations: 120.5 kB / 0.6659 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.389e-05/0.4789, allocations: 8.031 kB / 0.6659 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.249e-05/0.479, allocations: 12.17 kB / 0.6659 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.479, allocations: 1.844 kB / 0.6659 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.479, allocations: 5.25 kB / 0.6659 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.479, allocations: 5.297 kB / 0.6659 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000323/0.4793, allocations: 182.4 kB / 0.6661 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4794, allocations: 0 / 0.6661 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.214e-05/0.4794, allocations: 13.47 kB / 0.6661 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.4795, allocations: 6.578 kB / 0.6661 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.4795, allocations: 1.531 kB / 0.6661 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.4795, allocations: 4 kB / 0.6661 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.4795, allocations: 5.625 kB / 0.6661 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001706/0.4797, allocations: 328.2 kB / 0.6664 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.8e-05/0.4797, allocations: 88.3 kB / 0.6665 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.4797, allocations: 1.094 kB / 0.6665 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.4799, allocations: 6.875 kB / 0.6665 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.667e-05/0.4799, allocations: 11.58 kB / 0.6665 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.4799, allocations: 2.656 kB / 0.6665 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.974e-05/0.48, allocations: 81.84 kB / 0.6666 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.48, allocations: 0 / 0.6666 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003188/0.4803, allocations: 18.97 kB / 0.6666 GB, free: 3.578 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.0003206/0.4806, allocations: 0.8543 MB / 0.6674 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000124/0.4807, allocations: 47.03 kB / 0.6675 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4808, allocations: 1.125 kB / 0.6675 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.628e-05/0.4808, allocations: 23.64 kB / 0.6675 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004615/0.4813, allocations: 13.06 kB / 0.6675 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.4825, allocations: 1.69 MB / 0.6692 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/0.4827, allocations: 0.686 MB / 0.6699 GB, free: 364 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.993e-05/0.4828, allocations: 11.02 kB / 0.6699 GB, free: 356 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.973e-05/0.4828, allocations: 15.59 kB / 0.6699 GB, free: 348 kB / 0.4981 GB Notification: Performance of SimCode: time 4.61e-07/0.4828, allocations: 0 / 0.6699 GB, free: 348 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0209/0.5037, allocations: 1.719 MB / 0.6716 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.589/8.093, allocations: 8.984 kB / 0.6716 GB, free: 15.46 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)