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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck") translateModel(IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 111 kB / 17.33 MB, free: 5.043 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.001275/0.001275, allocations: 201.9 kB / 18.33 MB, free: 4.055 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.556/1.556, allocations: 225.6 MB / 244.8 MB, free: 13.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8814/0.8814, allocations: 128.4 MB / 426.1 MB, free: 7.223 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 68.47 kB / 0.5911 GB, free: 21.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1935, allocations: 83.26 MB / 0.6724 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterDerivativeCheck): time 0.002536/0.196, allocations: 1.25 MB / 0.6737 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004189/0.2002, allocations: 3.29 MB / 0.6769 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.076e-05/0.2002, allocations: 0 / 0.6769 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.335e-05/0.2003, allocations: 4 kB / 0.6769 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.207e-05/0.2003, allocations: 3.938 kB / 0.6769 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005524/0.2009, allocations: 111.5 kB / 0.677 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.487e-05/0.201, allocations: 39.84 kB / 0.677 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.366e-05/0.201, allocations: 7.984 kB / 0.677 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.186e-05/0.2011, allocations: 15.92 kB / 0.677 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.003e-05/0.2011, allocations: 12 kB / 0.6771 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.2012, allocations: 0 / 0.6771 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002521/0.2014, allocations: 95.72 kB / 0.6771 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.669e-05/0.2014, allocations: 7.938 kB / 0.6772 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.916e-05/0.2015, allocations: 23.91 kB / 0.6772 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.2016, allocations: 59.86 kB / 0.6772 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2017, allocations: 0 / 0.6772 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.113e-06/0.2017, allocations: 0 / 0.6772 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.2017, allocations: 0 / 0.6772 GB, free: 14.97 MB / 0.5137 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.0005073/0.2022, allocations: 356 kB / 0.6776 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.2022, allocations: 12.03 kB / 0.6776 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.2023, allocations: 8.938 kB / 0.6776 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.2025, allocations: 160.4 kB / 0.6777 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.2025, allocations: 4.375 kB / 0.6777 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.2025, allocations: 4.375 kB / 0.6778 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.2027, allocations: 65.72 kB / 0.6778 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.2027, allocations: 0 / 0.6778 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.2027, allocations: 4 kB / 0.6778 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.2027, allocations: 0 / 0.6778 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.922e-05/0.2027, allocations: 19.97 kB / 0.6778 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002037/0.2029, allocations: 169.6 kB / 0.678 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.203, allocations: 50.55 kB / 0.678 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.332e-05/0.2031, allocations: 16.86 kB / 0.6781 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007821/0.2039, allocations: 0.5909 MB / 0.6786 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.2039, allocations: 38.56 kB / 0.6787 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.2039, allocations: 0 / 0.6787 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0006181/0.2045, allocations: 302.2 kB / 0.679 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.2046, allocations: 55.41 kB / 0.679 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.579e-05/0.2046, allocations: 97.86 kB / 0.6791 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.2047, allocations: 25.7 kB / 0.6791 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.091e-05/0.2047, allocations: 84.09 kB / 0.6792 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.2047, allocations: 35.73 kB / 0.6793 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.361e-05/0.2048, allocations: 29.7 kB / 0.6793 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.2049, allocations: 318.8 kB / 0.6796 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.754e-05/0.205, allocations: 11.94 kB / 0.6796 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.683e-05/0.205, allocations: 61.08 kB / 0.6797 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.526e-05/0.2051, allocations: 77.08 kB / 0.6797 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.2051, allocations: 3.938 kB / 0.6797 GB, free: 12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001443/0.2053, allocations: 93.81 kB / 0.6798 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.2053, allocations: 12.12 kB / 0.6798 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.2053, allocations: 0 / 0.6798 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.2053, allocations: 0 / 0.6798 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.017e-05/0.2054, allocations: 27.98 kB / 0.6799 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.946e-06/0.2054, allocations: 3.938 kB / 0.6799 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.039e-05/0.2054, allocations: 8.375 kB / 0.6799 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.2054, allocations: 4 kB / 0.6799 GB, free: 11.85 MB / 0.5137 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.931e-05/0.2055, allocations: 109.8 kB / 0.68 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.2056, allocations: 7.953 kB / 0.68 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.403e-05/0.2056, allocations: 11.97 kB / 0.68 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.2056, allocations: 0 / 0.68 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.2056, allocations: 8 kB / 0.68 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.2056, allocations: 3.938 kB / 0.68 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002593/0.2059, allocations: 177.7 kB / 0.6802 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2059, allocations: 0 / 0.6802 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.592e-05/0.206, allocations: 15.98 kB / 0.6802 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.206, allocations: 3.938 kB / 0.6802 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.206, allocations: 0 / 0.6802 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.206, allocations: 4 kB / 0.6802 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.206, allocations: 0 / 0.6802 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.2062, allocations: 171.5 kB / 0.6804 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.752e-05/0.2062, allocations: 85.06 kB / 0.6804 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.2062, allocations: 4.031 kB / 0.6805 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.2063, allocations: 8 kB / 0.6805 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.519e-05/0.2064, allocations: 0 / 0.6805 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.2064, allocations: 7.938 kB / 0.6805 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.608e-05/0.2064, allocations: 79.27 kB / 0.6805 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.2064, allocations: 7.938 kB / 0.6805 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002402/0.2067, allocations: 16 kB / 0.6806 GB, free: 11.05 MB / 0.5137 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.0001385/0.2068, allocations: 107.2 kB / 0.6807 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001259/0.2069, allocations: 35.92 kB / 0.6807 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2069, allocations: 0 / 0.6807 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.753e-05/0.2069, allocations: 19.98 kB / 0.6807 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.2072, allocations: 8.25 kB / 0.6807 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006089/0.2078, allocations: 326 kB / 0.681 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.2082, allocations: 0.6884 MB / 0.6817 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.668e-05/0.2082, allocations: 11.86 kB / 0.6817 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.784e-05/0.2082, allocations: 11.44 kB / 0.6817 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of SimCode: time 3.2e-07/0.2082, allocations: 0 / 0.6817 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of Templates: time 0.003276/0.2115, allocations: 0.6365 MB / 0.6824 GB, free: 9.156 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.makefile [Timeout 660] (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) [Timeout 480]