Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: translateModel(IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck") translateModel(IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 108.8 kB / 16.64 MB, free: 6.371 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.001842/0.001842, allocations: 189.4 kB / 17.56 MB, free: 5.797 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.482/1.482, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7889/0.7889, allocations: 125.4 MB / 416.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001915, allocations: 67.89 kB / 0.4943 GB, free: 4.812 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3291, allocations: 78.57 MB / 0.571 GB, free: 31.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterDerivativeCheck): time 0.002334/0.3314, allocations: 1.315 MB / 0.5723 GB, free: 30.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003142/0.3346, allocations: 3.224 MB / 0.5754 GB, free: 28.31 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.654e-05/0.3347, allocations: 0 / 0.5754 GB, free: 28.31 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.55e-05/0.3347, allocations: 5.062 kB / 0.5754 GB, free: 28.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.625e-05/0.3348, allocations: 7.156 kB / 0.5754 GB, free: 28.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005013/0.3353, allocations: 101.5 kB / 0.5755 GB, free: 28.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.704e-05/0.3353, allocations: 34.73 kB / 0.5756 GB, free: 28.24 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.641e-05/0.3354, allocations: 7.547 kB / 0.5756 GB, free: 28.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.627e-05/0.3354, allocations: 16.77 kB / 0.5756 GB, free: 28.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.042e-05/0.3355, allocations: 18.95 kB / 0.5756 GB, free: 28.22 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.3355, allocations: 1.156 kB / 0.5756 GB, free: 28.22 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002231/0.3358, allocations: 85.81 kB / 0.5757 GB, free: 28.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.529e-05/0.3358, allocations: 9.031 kB / 0.5757 GB, free: 28.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.883e-05/0.3358, allocations: 17.77 kB / 0.5757 GB, free: 28.17 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.336, allocations: 42.83 kB / 0.5758 GB, free: 28.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.336, allocations: 0.6562 kB / 0.5758 GB, free: 28.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.336, allocations: 0.5312 kB / 0.5758 GB, free: 28.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.336, allocations: 2.562 kB / 0.5758 GB, free: 28.16 MB / 446.1 MB 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.0003428/0.3363, allocations: 350.2 kB / 0.5761 GB, free: 27.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.3364, allocations: 10.23 kB / 0.5761 GB, free: 27.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.694e-05/0.3365, allocations: 5.859 kB / 0.5761 GB, free: 27.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.027e-05/0.3366, allocations: 162.7 kB / 0.5763 GB, free: 27.6 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.3366, allocations: 2.562 kB / 0.5763 GB, free: 27.6 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.3366, allocations: 8.844 kB / 0.5763 GB, free: 27.6 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.3367, allocations: 54.84 kB / 0.5763 GB, free: 27.56 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3368, allocations: 3.938 kB / 0.5763 GB, free: 27.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.3368, allocations: 2.562 kB / 0.5763 GB, free: 27.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.3368, allocations: 5.188 kB / 0.5763 GB, free: 27.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.587e-05/0.3369, allocations: 19.89 kB / 0.5764 GB, free: 27.55 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001363/0.337, allocations: 174.8 kB / 0.5765 GB, free: 27.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.481e-05/0.3371, allocations: 51.02 kB / 0.5766 GB, free: 27.31 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.873e-05/0.3371, allocations: 13.55 kB / 0.5766 GB, free: 27.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00058/0.3377, allocations: 0.5989 MB / 0.5772 GB, free: 26.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.461e-05/0.3377, allocations: 31.08 kB / 0.5772 GB, free: 26.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.362e-06/0.3378, allocations: 1.969 kB / 0.5772 GB, free: 26.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005045/0.3383, allocations: 304.9 kB / 0.5775 GB, free: 26.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.191e-05/0.3383, allocations: 53.5 kB / 0.5775 GB, free: 26.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.059e-05/0.3384, allocations: 101.2 kB / 0.5776 GB, free: 26.17 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.3384, allocations: 25.7 kB / 0.5777 GB, free: 26.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.523e-05/0.3384, allocations: 91.17 kB / 0.5778 GB, free: 26.05 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.583e-05/0.3384, allocations: 25.45 kB / 0.5778 GB, free: 26.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-05/0.3385, allocations: 23.91 kB / 0.5778 GB, free: 26.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.417e-05/0.3385, allocations: 327.4 kB / 0.5781 GB, free: 25.69 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.764e-05/0.3385, allocations: 15.05 kB / 0.5781 GB, free: 25.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.452e-05/0.3386, allocations: 58.06 kB / 0.5782 GB, free: 25.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.218e-05/0.3387, allocations: 71.11 kB / 0.5782 GB, free: 25.56 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3387, allocations: 0 / 0.5782 GB, free: 25.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001546/0.3388, allocations: 105.6 kB / 0.5783 GB, free: 25.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.3389, allocations: 5.719 kB / 0.5784 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.3389, allocations: 1.969 kB / 0.5784 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.3389, allocations: 5.344 kB / 0.5784 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.568e-05/0.339, allocations: 19.81 kB / 0.5784 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.339, allocations: 7.203 kB / 0.5784 GB, free: 25.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.597e-05/0.339, allocations: 5.469 kB / 0.5784 GB, free: 25.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.339, allocations: 9.375 kB / 0.5784 GB, free: 25.48 MB / 446.1 MB 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.446e-05/0.3391, allocations: 115 kB / 0.5785 GB, free: 25.37 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.3391, allocations: 2.641 kB / 0.5785 GB, free: 25.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.622e-05/0.3392, allocations: 11.17 kB / 0.5785 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3392, allocations: 1.25 kB / 0.5785 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3392, allocations: 0 / 0.5785 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.3392, allocations: 6.219 kB / 0.5785 GB, free: 25.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.3394, allocations: 169.7 kB / 0.5787 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3394, allocations: 448 / 0.5787 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.414e-05/0.3395, allocations: 16.77 kB / 0.5787 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.3395, allocations: 0.7031 kB / 0.5787 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.3395, allocations: 10.28 kB / 0.5787 GB, free: 25.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3395, allocations: 2.125 kB / 0.5787 GB, free: 25.15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3395, allocations: 0 / 0.5787 GB, free: 25.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.3397, allocations: 180.5 kB / 0.5789 GB, free: 25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.954e-05/0.3397, allocations: 81.09 kB / 0.579 GB, free: 24.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.3397, allocations: 3.734 kB / 0.579 GB, free: 24.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.3398, allocations: 2.703 kB / 0.579 GB, free: 24.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.953e-05/0.3399, allocations: 5.422 kB / 0.579 GB, free: 24.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.3399, allocations: 9.812 kB / 0.579 GB, free: 24.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.041e-05/0.3399, allocations: 80.5 kB / 0.5791 GB, free: 24.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3399, allocations: 0.6875 kB / 0.5791 GB, free: 24.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002312/0.3401, allocations: 13.84 kB / 0.5791 GB, free: 24.82 MB / 446.1 MB 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.0001009/0.3403, allocations: 109.5 kB / 0.5792 GB, free: 24.72 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000113/0.3404, allocations: 47.02 kB / 0.5792 GB, free: 24.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3404, allocations: 1.438 kB / 0.5792 GB, free: 24.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.379e-05/0.3404, allocations: 12.77 kB / 0.5792 GB, free: 24.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.3407, allocations: 7.906 kB / 0.5793 GB, free: 24.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005296/0.3412, allocations: 369.9 kB / 0.5796 GB, free: 24.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.3414, allocations: 0.6871 MB / 0.5803 GB, free: 23.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.541e-05/0.3414, allocations: 11.16 kB / 0.5803 GB, free: 23.73 MB / 446.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3414, allocations: 0 / 0.5803 GB, free: 23.73 MB / 446.1 MB Notification: Performance of Templates: time 0.002367/0.3438, allocations: 0.7808 MB / 0.581 GB, free: 23.66 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1)