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.004847/0.004847, allocations: 100 kB / 15.73 MB, free: 6.062 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.00136/0.00136, allocations: 192.9 kB / 16.67 MB, free: 5.973 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8285/0.8285, allocations: 132.2 MB / 422.7 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 67.19 kB / 0.5808 GB, free: 24.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1396, allocations: 80.21 MB / 0.6592 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002363/0.142, allocations: 1.266 MB / 0.6604 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003106/0.1451, allocations: 2.499 MB / 0.6628 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.581e-05/0.1452, allocations: 0 / 0.6628 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.711e-05/0.1452, allocations: 3.984 kB / 0.6629 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.273e-05/0.1452, allocations: 7.922 kB / 0.6629 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005372/0.1458, allocations: 131.4 kB / 0.663 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.693e-05/0.1459, allocations: 35.92 kB / 0.663 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.046e-05/0.1459, allocations: 0 / 0.663 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.746e-05/0.146, allocations: 27.86 kB / 0.663 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.865e-05/0.146, allocations: 15.91 kB / 0.6631 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.146, allocations: 4 kB / 0.6631 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003021/0.1463, allocations: 115.8 kB / 0.6632 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.582e-05/0.1464, allocations: 8 kB / 0.6632 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.896e-05/0.1464, allocations: 11.94 kB / 0.6632 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.1466, allocations: 87.98 kB / 0.6633 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1466, allocations: 4 kB / 0.6633 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1466, allocations: 0 / 0.6633 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.1466, allocations: 0 / 0.6633 GB, free: 6.562 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.0004103/0.1471, allocations: 355.3 kB / 0.6636 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.1471, allocations: 8.031 kB / 0.6636 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.816e-05/0.1471, allocations: 34.69 kB / 0.6637 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002037/0.1473, allocations: 20.92 kB / 0.6637 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.1475, allocations: 160.4 kB / 0.6638 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.1475, allocations: 4.375 kB / 0.6638 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.1475, allocations: 4.375 kB / 0.6638 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.1477, allocations: 72.19 kB / 0.6639 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.1477, allocations: 4 kB / 0.6639 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.1477, allocations: 4 kB / 0.6639 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.1477, allocations: 3.938 kB / 0.6639 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.146e-05/0.1478, allocations: 11.98 kB / 0.6639 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005887/0.1483, allocations: 482.7 kB / 0.6644 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.1485, allocations: 67.66 kB / 0.6645 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.254e-05/0.1485, allocations: 22.7 kB / 0.6645 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.1486, allocations: 8 kB / 0.6645 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.1486, allocations: 30.56 kB / 0.6645 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.1486, allocations: 0 / 0.6645 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005926/0.1492, allocations: 310.6 kB / 0.6648 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.059e-05/0.1493, allocations: 106.8 kB / 0.6649 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.33e-05/0.1493, allocations: 105.7 kB / 0.665 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.1494, allocations: 29.7 kB / 0.665 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.643e-05/0.1494, allocations: 88.03 kB / 0.6651 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.1494, allocations: 31.78 kB / 0.6652 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/0.1495, allocations: 25.72 kB / 0.6652 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.1496, allocations: 318.8 kB / 0.6655 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.059e-05/0.1497, allocations: 15.98 kB / 0.6655 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.463e-05/0.1497, allocations: 53.14 kB / 0.6656 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.489e-05/0.1498, allocations: 73.09 kB / 0.6656 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1498, allocations: 0 / 0.6656 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001354/0.15, allocations: 89.55 kB / 0.6657 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.15, allocations: 9.875 kB / 0.6657 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.15, allocations: 0 / 0.6657 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.15, allocations: 4 kB / 0.6657 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.898e-05/0.1501, allocations: 23.92 kB / 0.6657 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1501, allocations: 4.125 kB / 0.6657 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.93e-05/0.1502, allocations: 8 kB / 0.6658 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.1502, allocations: 7.938 kB / 0.6658 GB, free: 3.648 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 9.241e-05/0.1503, allocations: 118.7 kB / 0.6659 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.228e-05/0.1503, allocations: 11.88 kB / 0.6659 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.388e-05/0.1504, allocations: 11.56 kB / 0.6659 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1504, allocations: 0 / 0.6659 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1504, allocations: 4.062 kB / 0.6659 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1504, allocations: 4 kB / 0.6659 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003569/0.1508, allocations: 181.6 kB / 0.6661 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1508, allocations: 0 / 0.6661 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.885e-05/0.1509, allocations: 15.98 kB / 0.6661 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.1509, allocations: 4 kB / 0.6661 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.1509, allocations: 0 / 0.6661 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1509, allocations: 3.938 kB / 0.6661 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.1509, allocations: 4 kB / 0.6661 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.1512, allocations: 326.5 kB / 0.6664 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.741e-05/0.1513, allocations: 93.03 kB / 0.6665 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.1513, allocations: 0 / 0.6665 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.1515, allocations: 4 kB / 0.6665 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.052e-05/0.1515, allocations: 11.92 kB / 0.6665 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.1515, allocations: 8.094 kB / 0.6665 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.29e-05/0.1516, allocations: 79.27 kB / 0.6666 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1516, allocations: 0 / 0.6666 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003137/0.1519, allocations: 20 kB / 0.6666 GB, free: 2.664 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.0005403/0.1524, allocations: 0.8666 MB / 0.6675 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001234/0.1526, allocations: 47.95 kB / 0.6675 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1526, allocations: 0 / 0.6675 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.929e-05/0.1526, allocations: 15.94 kB / 0.6675 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/0.153, allocations: 17.03 kB / 0.6675 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.1547, allocations: 1.7 MB / 0.6692 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.155, allocations: 0.6885 MB / 0.6699 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.535e-05/0.1551, allocations: 8 kB / 0.6699 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.335e-05/0.1551, allocations: 11.42 kB / 0.6699 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of SimCode: time 4.8e-07/0.1551, allocations: 4 kB / 0.6699 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.247/0.4021, allocations: 1.685 MB / 0.6715 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.408/8.81, allocations: 3.266 kB / 0.6716 GB, free: 13.62 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)