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.005661/0.005662, allocations: 100.9 kB / 15.73 MB, free: 6.496 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.001246/0.001246, allocations: 196.5 kB / 16.68 MB, free: 6.375 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9104/0.9104, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001468, allocations: 63.91 kB / 0.5851 GB, free: 3.879 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4607/0.4622, allocations: 80.91 MB / 0.6641 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001975/0.4642, allocations: 1.278 MB / 0.6654 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002468/0.4667, allocations: 2.491 MB / 0.6678 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.208e-05/0.4668, allocations: 0 / 0.6678 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.734e-05/0.4668, allocations: 1.438 kB / 0.6678 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.245e-05/0.4669, allocations: 7.922 kB / 0.6678 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005264/0.4674, allocations: 133.7 kB / 0.6679 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.34e-05/0.4675, allocations: 45.55 kB / 0.668 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.64e-05/0.4675, allocations: 2.406 kB / 0.668 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.381e-05/0.4676, allocations: 24.27 kB / 0.668 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.683e-05/0.4677, allocations: 22.47 kB / 0.668 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.4677, allocations: 2.344 kB / 0.668 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002704/0.4679, allocations: 109.4 kB / 0.6681 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.424e-05/0.468, allocations: 14.44 kB / 0.6682 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.618e-05/0.468, allocations: 15.47 kB / 0.6682 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.4682, allocations: 79.19 kB / 0.6682 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.4682, allocations: 0 / 0.6682 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4682, allocations: 0.8438 kB / 0.6682 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.826e-06/0.4682, allocations: 0 / 0.6682 GB, free: 3.98 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.0003206/0.4686, allocations: 353.9 kB / 0.6686 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.4686, allocations: 10.16 kB / 0.6686 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.845e-05/0.4686, allocations: 39.75 kB / 0.6686 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000203/0.4688, allocations: 14.14 kB / 0.6686 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.65e-05/0.4689, allocations: 160.4 kB / 0.6688 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.4689, allocations: 3.094 kB / 0.6688 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.469, allocations: 11.81 kB / 0.6688 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.4691, allocations: 77.41 kB / 0.6689 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.4691, allocations: 0 / 0.6689 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.4692, allocations: 1.625 kB / 0.6689 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.4692, allocations: 7.875 kB / 0.6689 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.913e-05/0.4692, allocations: 6.469 kB / 0.6689 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004575/0.4697, allocations: 479.1 kB / 0.6694 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.4698, allocations: 69.06 kB / 0.6694 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.552e-05/0.4698, allocations: 27.5 kB / 0.6695 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.4698, allocations: 1.062 kB / 0.6695 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.59e-05/0.4699, allocations: 36.72 kB / 0.6695 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.4699, allocations: 0 / 0.6695 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005244/0.4704, allocations: 304.2 kB / 0.6698 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.4704, allocations: 104.6 kB / 0.6699 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.24e-05/0.4705, allocations: 108.6 kB / 0.67 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.317e-06/0.4705, allocations: 27.8 kB / 0.67 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.46e-05/0.4705, allocations: 89.47 kB / 0.6701 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.438e-05/0.4706, allocations: 22.38 kB / 0.6701 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.563e-05/0.4706, allocations: 33.77 kB / 0.6701 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.446e-05/0.4706, allocations: 319.9 kB / 0.6705 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.526e-05/0.4707, allocations: 7.781 kB / 0.6705 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.827e-05/0.4707, allocations: 61.39 kB / 0.6705 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.819e-05/0.4708, allocations: 70.02 kB / 0.6706 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4708, allocations: 0.9375 kB / 0.6706 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001129/0.4709, allocations: 98.86 kB / 0.6707 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.4709, allocations: 5.031 kB / 0.6707 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.471, allocations: 5.562 kB / 0.6707 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.471, allocations: 2.531 kB / 0.6707 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.486e-05/0.4711, allocations: 24.14 kB / 0.6707 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.4711, allocations: 2.969 kB / 0.6707 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.584e-05/0.4711, allocations: 5.125 kB / 0.6707 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.4711, allocations: 7.812 kB / 0.6707 GB, free: 1.359 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.614e-05/0.4712, allocations: 123 kB / 0.6708 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.548e-05/0.4712, allocations: 15.19 kB / 0.6709 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.76e-05/0.4713, allocations: 8.938 kB / 0.6709 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.4713, allocations: 1.281 kB / 0.6709 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4713, allocations: 1.281 kB / 0.6709 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.4713, allocations: 5.141 kB / 0.6709 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002804/0.4716, allocations: 181.4 kB / 0.6711 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4716, allocations: 1.688 kB / 0.6711 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.887e-05/0.4717, allocations: 13.81 kB / 0.6711 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.4717, allocations: 4 kB / 0.6711 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/0.4717, allocations: 2.531 kB / 0.6711 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.4717, allocations: 1.281 kB / 0.6711 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.4717, allocations: 0 / 0.6711 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/0.4719, allocations: 329.4 kB / 0.6714 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.708e-05/0.4719, allocations: 87.83 kB / 0.6715 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.4719, allocations: 5.312 kB / 0.6715 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.4721, allocations: 2.875 kB / 0.6715 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.729e-05/0.4721, allocations: 14.58 kB / 0.6715 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.4721, allocations: 2.781 kB / 0.6715 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.848e-05/0.4722, allocations: 78.03 kB / 0.6716 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4722, allocations: 1.375 kB / 0.6716 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003034/0.4725, allocations: 13.44 kB / 0.6716 GB, free: 500 kB / 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.0004049/0.4729, allocations: 0.864 MB / 0.6724 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001408/0.473, allocations: 47.11 kB / 0.6725 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4731, allocations: 5.344 kB / 0.6725 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.005e-05/0.4731, allocations: 23.89 kB / 0.6725 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.4735, allocations: 10.5 kB / 0.6725 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.4751, allocations: 1.687 MB / 0.6742 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.4753, allocations: 0.6895 MB / 0.6748 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.63e-05/0.4754, allocations: 3.844 kB / 0.6748 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.062e-05/0.4754, allocations: 14.94 kB / 0.6749 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of SimCode: time 5.41e-07/0.4754, allocations: 3.938 kB / 0.6749 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02052/0.496, allocations: 1.701 MB / 0.6765 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.359/7.855, allocations: 10.92 kB / 0.6765 GB, free: 12.35 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)