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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001844/0.001844, allocations: 88.17 kB / 20.21 MB, free: 4.211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001996/0.001996, allocations: 165.2 kB / 23.53 MB, free: 0.8945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.562/1.562, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.018/1.018, allocations: 115 MB / 375.3 MB, free: 7.605 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck") translateModel(IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 480.7 MB, free: 11.9 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.118e-05/2.295e-05, allocations: 7.031 kB / 480.7 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterDerivativeCheck): time 0.001896/0.001919, allocations: 1.273 MB / 482 MB, free: 11.02 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003343/0.005262, allocations: 3.365 MB / 485.4 MB, free: 8.703 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.004e-05/0.005292, allocations: 0 / 485.4 MB, free: 8.703 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.533e-05/0.005307, allocations: 2.531 kB / 485.4 MB, free: 8.703 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.705e-05/0.005354, allocations: 7.875 kB / 485.4 MB, free: 8.695 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000525/0.005879, allocations: 101.4 kB / 485.5 MB, free: 8.648 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.395e-05/0.005953, allocations: 39.39 kB / 485.5 MB, free: 8.633 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.155e-05/0.005985, allocations: 3.375 kB / 485.5 MB, free: 8.633 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.905e-05/0.006044, allocations: 26.2 kB / 485.6 MB, free: 8.625 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.112e-05/0.006105, allocations: 18.08 kB / 485.6 MB, free: 8.617 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.006121, allocations: 3.531 kB / 485.6 MB, free: 8.617 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001943/0.006315, allocations: 67.02 kB / 485.6 MB, free: 8.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.476e-05/0.00633, allocations: 12.06 kB / 485.7 MB, free: 8.582 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.499e-05/0.006355, allocations: 13.86 kB / 485.7 MB, free: 8.578 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.006529, allocations: 73.56 kB / 485.7 MB, free: 8.551 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.006533, allocations: 5.25 kB / 485.7 MB, free: 8.547 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.006534, allocations: 2.062 kB / 485.7 MB, free: 8.547 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.006538, allocations: 0 / 485.7 MB, free: 8.547 MB / 410.7 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.0003435/0.006882, allocations: 376.2 kB / 486.1 MB, free: 8.168 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.00692, allocations: 10.06 kB / 486.1 MB, free: 8.168 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.00704, allocations: 5.562 kB / 486.1 MB, free: 8.168 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.941e-05/0.0071, allocations: 115.4 kB / 486.2 MB, free: 8.035 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.007114, allocations: 5.719 kB / 486.2 MB, free: 8.031 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.007139, allocations: 9.172 kB / 486.3 MB, free: 8.027 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.007272, allocations: 136.5 kB / 486.4 MB, free: 7.891 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.007282, allocations: 192 / 486.4 MB, free: 7.891 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.007293, allocations: 5.281 kB / 486.4 MB, free: 7.887 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.007298, allocations: 1.406 kB / 486.4 MB, free: 7.887 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.554e-05/0.007354, allocations: 15.66 kB / 486.4 MB, free: 7.887 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001195/0.007473, allocations: 120.9 kB / 486.5 MB, free: 7.742 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.738e-05/0.007571, allocations: 58.77 kB / 486.6 MB, free: 7.699 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.087e-05/0.007612, allocations: 23.28 kB / 486.6 MB, free: 7.684 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004852/0.008097, allocations: 293.6 kB / 486.9 MB, free: 7.438 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.5e-05/0.008112, allocations: 35.58 kB / 486.9 MB, free: 7.395 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.008113, allocations: 1.031 kB / 486.9 MB, free: 7.395 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005106/0.008623, allocations: 235.9 kB / 487.2 MB, free: 7.195 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.136e-05/0.008645, allocations: 52.53 kB / 487.2 MB, free: 7.133 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.111e-05/0.008706, allocations: 161.7 kB / 487.4 MB, free: 6.965 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.008716, allocations: 26.73 kB / 487.4 MB, free: 6.934 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002074/0.008923, allocations: 136.1 kB / 487.5 MB, free: 22.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.566e-05/0.008939, allocations: 28.22 kB / 487.6 MB, free: 22.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/0.008978, allocations: 38.78 kB / 487.6 MB, free: 22.74 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002827/0.00926, allocations: 496.1 kB / 488.1 MB, free: 22.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.149e-05/0.009292, allocations: 19.7 kB / 488.1 MB, free: 22.24 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.039e-05/0.009342, allocations: 66.88 kB / 488.2 MB, free: 22.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.15e-05/0.009424, allocations: 93.92 kB / 488.3 MB, free: 22.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.009425, allocations: 2.531 kB / 488.3 MB, free: 22.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001385/0.009563, allocations: 107.1 kB / 488.4 MB, free: 22.01 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.009577, allocations: 5.094 kB / 488.4 MB, free: 22.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.009581, allocations: 0 / 488.4 MB, free: 22.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.009597, allocations: 1.562 kB / 488.4 MB, free: 22.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.555e-05/0.009673, allocations: 25.41 kB / 488.4 MB, free: 22.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.009682, allocations: 2.656 kB / 488.4 MB, free: 22.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.651e-05/0.009718, allocations: 5.438 kB / 488.4 MB, free: 22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.009727, allocations: 5.969 kB / 488.4 MB, free: 22 MB / 426.7 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 0.0001146/0.009841, allocations: 169 kB / 488.6 MB, free: 21.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.009869, allocations: 3.812 kB / 488.6 MB, free: 21.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.644e-05/0.009895, allocations: 12.06 kB / 488.6 MB, free: 21.83 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.009898, allocations: 0.5625 kB / 488.6 MB, free: 21.83 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.009903, allocations: 5.656 kB / 488.6 MB, free: 21.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.009906, allocations: 0.5938 kB / 488.6 MB, free: 21.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.01008, allocations: 141.2 kB / 488.7 MB, free: 21.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.01008, allocations: 4.141 kB / 488.7 MB, free: 21.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.958e-05/0.01016, allocations: 13.59 kB / 488.8 MB, free: 21.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.01016, allocations: 0.8438 kB / 488.8 MB, free: 21.67 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.01017, allocations: 4 kB / 488.8 MB, free: 21.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.01017, allocations: 1.438 kB / 488.8 MB, free: 21.67 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01017, allocations: 0 / 488.8 MB, free: 21.67 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/0.0104, allocations: 231.1 kB / 489 MB, free: 21.46 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.57e-05/0.01042, allocations: 6.031 kB / 489 MB, free: 21.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.01044, allocations: 6.281 kB / 489 MB, free: 21.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.822e-05/0.01052, allocations: 1.312 kB / 489 MB, free: 21.46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.314e-05/0.01055, allocations: 6.578 kB / 489 MB, free: 21.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.01055, allocations: 6.469 kB / 489 MB, free: 21.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.479e-05/0.01063, allocations: 128.3 kB / 489.1 MB, free: 21.34 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01063, allocations: 0 / 489.1 MB, free: 21.34 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002391/0.01087, allocations: 13.53 kB / 489.1 MB, free: 21.33 MB / 426.7 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.0001156/0.01098, allocations: 94.44 kB / 489.2 MB, free: 21.24 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000115/0.0111, allocations: 57.83 kB / 489.3 MB, free: 21.21 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.0111, allocations: 2.406 kB / 489.3 MB, free: 21.21 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.621e-05/0.01113, allocations: 21.59 kB / 489.3 MB, free: 21.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.01139, allocations: 22.64 kB / 489.3 MB, free: 21.19 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004708/0.01186, allocations: 260.9 kB / 489.6 MB, free: 21.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.398e-05/0.01191, allocations: 68.2 kB / 489.7 MB, free: 20.95 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.078e-05/0.01195, allocations: 10.55 kB / 489.7 MB, free: 20.95 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.482e-05/0.01198, allocations: 12.94 kB / 489.7 MB, free: 20.94 MB / 426.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01198, allocations: 0 / 489.7 MB, free: 20.94 MB / 426.7 MB Notification: Performance of Templates: time 0.003403/0.01538, allocations: 0.6404 MB / 490.3 MB, free: 20.87 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.777018787106499]