Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.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: translateModel(BuildingSystems.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck") translateModel(BuildingSystems.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 108.9 kB / 16.41 MB, free: 6.449 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.001622/0.001622, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.438/1.438, allocations: 222.9 MB / 241 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.002522/0.002522, allocations: 296.7 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.031/1.031, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002773/0.002773, allocations: 95.84 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.4109, allocations: 86.97 MB / 0.767 GB, free: 3.754 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterDerivativeCheck): time 0.002254/0.4131, allocations: 1.265 MB / 0.7683 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003964/0.4171, allocations: 3.266 MB / 0.7714 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.592e-05/0.4171, allocations: 0 / 0.7714 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.671e-05/0.4171, allocations: 0 / 0.7714 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.115e-05/0.4172, allocations: 7.922 kB / 0.7715 GB, free: 15.19 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004689/0.4176, allocations: 103.5 kB / 0.7715 GB, free: 15.09 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.667e-05/0.4177, allocations: 47.77 kB / 0.7716 GB, free: 15.04 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.265e-05/0.4178, allocations: 0 / 0.7716 GB, free: 15.04 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.209e-05/0.4178, allocations: 15.98 kB / 0.7716 GB, free: 15.03 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.597e-05/0.4179, allocations: 23.92 kB / 0.7716 GB, free: 15 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.398e-06/0.4179, allocations: 0 / 0.7716 GB, free: 15 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002103/0.4181, allocations: 79.81 kB / 0.7717 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.4181, allocations: 11.91 kB / 0.7717 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.954e-05/0.4181, allocations: 15.94 kB / 0.7717 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.4183, allocations: 71.64 kB / 0.7718 GB, free: 14.83 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.4183, allocations: 0 / 0.7718 GB, free: 14.83 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.42e-07/0.4183, allocations: 0 / 0.7718 GB, free: 14.83 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.4183, allocations: 0 / 0.7718 GB, free: 14.83 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.0004471/0.4187, allocations: 357.2 kB / 0.7721 GB, free: 14.44 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.4188, allocations: 12.03 kB / 0.7722 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.756e-05/0.4189, allocations: 4.938 kB / 0.7722 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.419, allocations: 160.4 kB / 0.7723 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.419, allocations: 384 / 0.7723 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.419, allocations: 8.375 kB / 0.7723 GB, free: 14.22 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.4191, allocations: 53.8 kB / 0.7724 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/0.4192, allocations: 3.938 kB / 0.7724 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.4192, allocations: 12 kB / 0.7724 GB, free: 14.15 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.4192, allocations: 4 kB / 0.7724 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.871e-05/0.4192, allocations: 15.98 kB / 0.7724 GB, free: 14.13 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001972/0.4194, allocations: 169.6 kB / 0.7726 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.4195, allocations: 46.56 kB / 0.7726 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.353e-05/0.4196, allocations: 16.84 kB / 0.7726 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007659/0.4203, allocations: 0.6023 MB / 0.7732 GB, free: 13.13 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.4204, allocations: 30.56 kB / 0.7732 GB, free: 13.09 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.4204, allocations: 0 / 0.7732 GB, free: 13.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0005789/0.4209, allocations: 294.6 kB / 0.7735 GB, free: 12.75 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.143e-05/0.421, allocations: 59.39 kB / 0.7736 GB, free: 12.68 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.912e-05/0.4211, allocations: 101.8 kB / 0.7737 GB, free: 12.57 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.4211, allocations: 33.7 kB / 0.7737 GB, free: 12.53 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.211e-05/0.4212, allocations: 88.03 kB / 0.7738 GB, free: 12.44 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.4212, allocations: 31.73 kB / 0.7738 GB, free: 12.41 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-05/0.4212, allocations: 25.72 kB / 0.7739 GB, free: 12.38 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.4214, allocations: 318.8 kB / 0.7742 GB, free: 12.06 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.789e-05/0.4214, allocations: 12 kB / 0.7742 GB, free: 12.05 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.813e-05/0.4215, allocations: 57.08 kB / 0.7742 GB, free: 11.97 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.963e-05/0.4216, allocations: 85.25 kB / 0.7743 GB, free: 11.87 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.4216, allocations: 0 / 0.7743 GB, free: 11.87 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001422/0.4217, allocations: 93.55 kB / 0.7744 GB, free: 11.77 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.4217, allocations: 8 kB / 0.7744 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.4217, allocations: 0 / 0.7744 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.4217, allocations: 0 / 0.7744 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-05/0.4218, allocations: 20 kB / 0.7744 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-05/0.4219, allocations: 3.938 kB / 0.7744 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.116e-05/0.4219, allocations: 11.94 kB / 0.7744 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.4219, allocations: 7.984 kB / 0.7744 GB, free: 11.72 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 8.636e-05/0.422, allocations: 116.3 kB / 0.7746 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.043e-05/0.422, allocations: 11.95 kB / 0.7746 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.222e-05/0.4221, allocations: 7.969 kB / 0.7746 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.4221, allocations: 4 kB / 0.7746 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.4221, allocations: 3.938 kB / 0.7746 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.4221, allocations: 3.938 kB / 0.7746 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/0.4223, allocations: 170.1 kB / 0.7747 GB, free: 11.35 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4223, allocations: 0 / 0.7747 GB, free: 11.35 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.4224, allocations: 19.98 kB / 0.7748 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.4224, allocations: 0 / 0.7748 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.4224, allocations: 4 kB / 0.7748 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.4224, allocations: 11.94 kB / 0.7748 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.4224, allocations: 0 / 0.7748 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/0.4226, allocations: 179.5 kB / 0.775 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.987e-05/0.4227, allocations: 81.11 kB / 0.775 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.4227, allocations: 0 / 0.775 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.4228, allocations: 8.031 kB / 0.775 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.702e-05/0.4228, allocations: 0 / 0.775 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.4228, allocations: 11.94 kB / 0.775 GB, free: 11.01 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.83e-05/0.4229, allocations: 79.28 kB / 0.7751 GB, free: 10.93 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4229, allocations: 0 / 0.7751 GB, free: 10.93 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002443/0.4231, allocations: 16 kB / 0.7751 GB, free: 10.91 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0001307/0.4233, allocations: 103.2 kB / 0.7752 GB, free: 10.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001132/0.4234, allocations: 44.34 kB / 0.7753 GB, free: 10.76 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4234, allocations: 4.188 kB / 0.7753 GB, free: 10.75 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.155e-05/0.4234, allocations: 12 kB / 0.7753 GB, free: 10.74 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.4237, allocations: 10.81 kB / 0.7753 GB, free: 10.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005945/0.4242, allocations: 329.6 kB / 0.7756 GB, free: 10.38 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.4246, allocations: 0.6846 MB / 0.7763 GB, free: 9.672 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.462e-05/0.4246, allocations: 8 kB / 0.7763 GB, free: 9.664 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.416e-05/0.4246, allocations: 11.44 kB / 0.7763 GB, free: 9.656 MB / 0.545 GB Notification: Performance of SimCode: time 4.61e-07/0.4246, allocations: 0 / 0.7763 GB, free: 9.656 MB / 0.545 GB Notification: Performance of Templates: time 0.003194/0.4278, allocations: 0.6254 MB / 0.7769 GB, free: 9.031 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe 2>&1)