Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_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.005742/0.005742, allocations: 102.7 kB / 15.73 MB, free: 6.004 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.001236/0.001236, allocations: 191.8 kB / 16.67 MB, free: 5.93 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.303/1.303, 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/NcDataReader2 2.5.1-master/package.mo): time 0.002036/0.002036, allocations: 293.7 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9248/0.9248, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 99.84 kB / 0.6809 GB, free: 7.496 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.423, allocations: 86.98 MB / 0.7659 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002297/0.4253, allocations: 1.257 MB / 0.7671 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003061/0.4284, allocations: 2.489 MB / 0.7695 GB, free: 140 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.883e-05/0.4285, allocations: 4 kB / 0.7695 GB, free: 136 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.822e-05/0.4285, allocations: 3.984 kB / 0.7695 GB, free: 132 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.52e-05/0.4286, allocations: 7.922 kB / 0.7696 GB, free: 124 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006384/0.4293, allocations: 131.5 kB / 0.7697 GB, free: 15.99 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.168e-05/0.4294, allocations: 31.84 kB / 0.7697 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.994e-05/0.4294, allocations: 0 / 0.7697 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.264e-05/0.4295, allocations: 27.86 kB / 0.7697 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.15e-05/0.4296, allocations: 19.97 kB / 0.7698 GB, free: 15.91 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.4296, allocations: 4 kB / 0.7698 GB, free: 15.91 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003143/0.4299, allocations: 107.8 kB / 0.7699 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.672e-05/0.4299, allocations: 15.91 kB / 0.7699 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.256e-05/0.43, allocations: 15.94 kB / 0.7699 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.4302, allocations: 74.72 kB / 0.77 GB, free: 15.7 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.4302, allocations: 0 / 0.77 GB, free: 15.7 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.605e-06/0.4302, allocations: 0 / 0.77 GB, free: 15.7 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.4302, allocations: 3.938 kB / 0.77 GB, free: 15.7 MB / 0.545 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.0003843/0.4306, allocations: 367.3 kB / 0.7703 GB, free: 15.29 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.4306, allocations: 8.031 kB / 0.7703 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.613e-05/0.4307, allocations: 38.75 kB / 0.7704 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000194/0.4309, allocations: 16.91 kB / 0.7704 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.431, allocations: 160.4 kB / 0.7705 GB, free: 15.03 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.431, allocations: 8.375 kB / 0.7705 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.431, allocations: 4.375 kB / 0.7705 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.4312, allocations: 76.19 kB / 0.7706 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.4312, allocations: 7.875 kB / 0.7706 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.4312, allocations: 0 / 0.7706 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.4312, allocations: 0 / 0.7706 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.886e-05/0.4312, allocations: 15.98 kB / 0.7706 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005534/0.4318, allocations: 478.7 kB / 0.7711 GB, free: 14.37 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.4319, allocations: 71.88 kB / 0.7712 GB, free: 14.27 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.579e-05/0.432, allocations: 22.58 kB / 0.7712 GB, free: 14.24 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.815e-06/0.432, allocations: 0 / 0.7712 GB, free: 14.24 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.432, allocations: 38.56 kB / 0.7712 GB, free: 14.2 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.432, allocations: 0 / 0.7712 GB, free: 14.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0006187/0.4327, allocations: 298.5 kB / 0.7715 GB, free: 13.85 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.972e-05/0.4327, allocations: 106.8 kB / 0.7716 GB, free: 13.72 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.773e-05/0.4328, allocations: 106.1 kB / 0.7717 GB, free: 13.61 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.4328, allocations: 29.7 kB / 0.7717 GB, free: 13.57 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.237e-05/0.4329, allocations: 95.98 kB / 0.7718 GB, free: 13.48 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.4329, allocations: 19.62 kB / 0.7719 GB, free: 13.46 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-05/0.433, allocations: 25.7 kB / 0.7719 GB, free: 13.43 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.4331, allocations: 322.8 kB / 0.7722 GB, free: 13.1 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.019e-05/0.4331, allocations: 19.92 kB / 0.7722 GB, free: 13.08 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.667e-05/0.4332, allocations: 57.08 kB / 0.7723 GB, free: 13.01 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.196e-05/0.4333, allocations: 65.09 kB / 0.7723 GB, free: 12.93 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.4333, allocations: 0 / 0.7723 GB, free: 12.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001381/0.4334, allocations: 101.5 kB / 0.7724 GB, free: 12.82 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.4334, allocations: 8 kB / 0.7724 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.4335, allocations: 0 / 0.7724 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.4335, allocations: 4 kB / 0.7724 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.713e-05/0.4336, allocations: 23.92 kB / 0.7725 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.81e-06/0.4336, allocations: 0 / 0.7725 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.605e-05/0.4336, allocations: 4 kB / 0.7725 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.4336, allocations: 11.94 kB / 0.7725 GB, free: 12.77 MB / 0.545 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 7.271e-05/0.4337, allocations: 125.8 kB / 0.7726 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.798e-05/0.4338, allocations: 4 kB / 0.7726 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.845e-05/0.4338, allocations: 11.55 kB / 0.7726 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.4338, allocations: 0 / 0.7726 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.4338, allocations: 4 kB / 0.7726 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.4338, allocations: 0 / 0.7726 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003184/0.4341, allocations: 177.6 kB / 0.7728 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4342, allocations: 0 / 0.7728 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.11e-05/0.4342, allocations: 16 kB / 0.7728 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.4343, allocations: 3.984 kB / 0.7728 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.4343, allocations: 4 kB / 0.7728 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.128e-05/0.4343, allocations: 8 kB / 0.7728 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4343, allocations: 3.938 kB / 0.7728 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.4345, allocations: 330 kB / 0.7731 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.802e-05/0.4346, allocations: 81.14 kB / 0.7732 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.4346, allocations: 4 kB / 0.7732 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.4348, allocations: 8 kB / 0.7732 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.86e-05/0.4348, allocations: 11.92 kB / 0.7732 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/0.4348, allocations: 4 kB / 0.7732 GB, free: 11.89 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.033e-05/0.4348, allocations: 75.66 kB / 0.7733 GB, free: 11.82 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4349, allocations: 7.938 kB / 0.7733 GB, free: 11.81 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003212/0.4352, allocations: 12 kB / 0.7733 GB, free: 11.8 MB / 0.545 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.0004686/0.4357, allocations: 0.8674 MB / 0.7742 GB, free: 10.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001099/0.4358, allocations: 47.95 kB / 0.7742 GB, free: 10.86 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4358, allocations: 0 / 0.7742 GB, free: 10.86 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.625e-05/0.4358, allocations: 24.25 kB / 0.7742 GB, free: 10.83 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.4362, allocations: 11.94 kB / 0.7742 GB, free: 10.82 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.4377, allocations: 1.692 MB / 0.7759 GB, free: 9.008 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.438, allocations: 0.6846 MB / 0.7766 GB, free: 8.297 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.303e-05/0.438, allocations: 8 kB / 0.7766 GB, free: 8.289 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.392e-05/0.4381, allocations: 11.44 kB / 0.7766 GB, free: 8.281 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.4381, allocations: 4 kB / 0.7766 GB, free: 8.277 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01768/0.4558, allocations: 1.738 MB / 0.7783 GB, free: 6.73 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.02/7.476, allocations: 10.5 kB / 0.7783 GB, free: 6.723 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)