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.001273/0.001273, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002074/0.002074, allocations: 191.2 kB / 16.67 MB, free: 6.574 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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9697/0.9697, allocations: 135.5 MB / 426.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 63.89 kB / 0.5857 GB, free: 3.262 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.402, allocations: 81.03 MB / 0.6648 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001886/0.4039, allocations: 1.255 MB / 0.6661 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002259/0.4062, allocations: 2.499 MB / 0.6685 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.696e-05/0.4062, allocations: 0 / 0.6685 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.405e-05/0.4062, allocations: 1.375 kB / 0.6685 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.165e-05/0.4063, allocations: 7.922 kB / 0.6685 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004572/0.4068, allocations: 135.8 kB / 0.6687 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.942e-05/0.4068, allocations: 33.02 kB / 0.6687 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.069e-05/0.4069, allocations: 3.188 kB / 0.6687 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.112e-05/0.4069, allocations: 24.66 kB / 0.6687 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.888e-05/0.407, allocations: 18.23 kB / 0.6687 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.407, allocations: 2.75 kB / 0.6687 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002758/0.4073, allocations: 112.8 kB / 0.6688 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.43e-05/0.4073, allocations: 10.55 kB / 0.6688 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.884e-05/0.4073, allocations: 18.48 kB / 0.6689 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.4075, allocations: 82.69 kB / 0.6689 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.4075, allocations: 0 / 0.6689 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4075, allocations: 1.062 kB / 0.6689 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.4076, allocations: 0 / 0.6689 GB, free: 3.617 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.0003121/0.4079, allocations: 353.2 kB / 0.6693 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.4079, allocations: 9.25 kB / 0.6693 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.564e-05/0.4079, allocations: 40 kB / 0.6693 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000193/0.4081, allocations: 22.09 kB / 0.6693 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.088e-05/0.4082, allocations: 162 kB / 0.6695 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.4082, allocations: 5.812 kB / 0.6695 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.4083, allocations: 3.844 kB / 0.6695 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.4084, allocations: 73.5 kB / 0.6696 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.4084, allocations: 0 / 0.6696 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.4084, allocations: 1.375 kB / 0.6696 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.4084, allocations: 1.438 kB / 0.6696 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.696e-05/0.4085, allocations: 17.64 kB / 0.6696 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004408/0.4089, allocations: 474.3 kB / 0.6701 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.409, allocations: 74.55 kB / 0.6701 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.578e-05/0.4091, allocations: 23.16 kB / 0.6701 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.4091, allocations: 5.438 kB / 0.6702 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.4091, allocations: 35.72 kB / 0.6702 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.4091, allocations: 1.406 kB / 0.6702 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005115/0.4096, allocations: 310.4 kB / 0.6705 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.4097, allocations: 104.1 kB / 0.6706 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.671e-05/0.4097, allocations: 98.52 kB / 0.6707 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.4098, allocations: 30.61 kB / 0.6707 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.455e-05/0.4098, allocations: 97.19 kB / 0.6708 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.4098, allocations: 27.78 kB / 0.6708 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.468e-05/0.4098, allocations: 29.3 kB / 0.6709 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.867e-05/0.4099, allocations: 320.2 kB / 0.6712 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.775e-05/0.4099, allocations: 15.3 kB / 0.6712 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.927e-05/0.41, allocations: 54.08 kB / 0.6712 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.023e-05/0.41, allocations: 69.88 kB / 0.6713 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.41, allocations: 0 / 0.6713 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001162/0.4102, allocations: 94.61 kB / 0.6714 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.4102, allocations: 5.625 kB / 0.6714 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.4102, allocations: 1.625 kB / 0.6714 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.4102, allocations: 6.344 kB / 0.6714 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.525e-05/0.4103, allocations: 25.67 kB / 0.6714 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.4103, allocations: 1.438 kB / 0.6714 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.519e-05/0.4103, allocations: 2.625 kB / 0.6714 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.4104, allocations: 10.75 kB / 0.6714 GB, free: 0.9883 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 4.771e-05/0.4104, allocations: 113.8 kB / 0.6715 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.789e-05/0.4105, allocations: 6.547 kB / 0.6715 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.775e-05/0.4105, allocations: 17.92 kB / 0.6716 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.4105, allocations: 9.156 kB / 0.6716 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.4105, allocations: 1.344 kB / 0.6716 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4105, allocations: 0 / 0.6716 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002814/0.4108, allocations: 179.1 kB / 0.6717 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.4108, allocations: 0 / 0.6717 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.174e-05/0.4109, allocations: 14.41 kB / 0.6718 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.4109, allocations: 1.469 kB / 0.6718 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.4109, allocations: 5.25 kB / 0.6718 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.4109, allocations: 5.391 kB / 0.6718 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4109, allocations: 0 / 0.6718 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/0.4111, allocations: 332.7 kB / 0.6721 GB, free: 320 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.321e-05/0.4111, allocations: 89.16 kB / 0.6722 GB, free: 216 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.4112, allocations: 1.312 kB / 0.6722 GB, free: 216 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.4113, allocations: 6.375 kB / 0.6722 GB, free: 212 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.547e-05/0.4114, allocations: 15.48 kB / 0.6722 GB, free: 200 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.4114, allocations: 6.312 kB / 0.6722 GB, free: 196 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.852e-05/0.4114, allocations: 85.73 kB / 0.6723 GB, free: 112 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4114, allocations: 0 / 0.6723 GB, free: 112 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003113/0.4117, allocations: 10.66 kB / 0.6723 GB, free: 112 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.0005705/0.4123, allocations: 0.8597 MB / 0.6731 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001148/0.4124, allocations: 43.66 kB / 0.6732 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4124, allocations: 0 / 0.6732 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.229e-05/0.4125, allocations: 24.8 kB / 0.6732 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.4129, allocations: 12.31 kB / 0.6732 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.4146, allocations: 1.686 MB / 0.6749 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.4149, allocations: 0.6853 MB / 0.6755 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.325e-05/0.415, allocations: 7.75 kB / 0.6755 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.585e-05/0.415, allocations: 15.59 kB / 0.6755 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.415, allocations: 0 / 0.6755 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02372/0.4388, allocations: 1.7 MB / 0.6772 GB, free: 12 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.522/8.961, allocations: 14.11 kB / 0.6772 GB, free: 11.99 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)