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.001135/0.001135, allocations: 107.1 kB / 16.4 MB, free: 6.508 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.001146/0.001147, allocations: 196 kB / 17.34 MB, free: 5.742 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.457/1.457, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7492/0.7492, allocations: 115.3 MB / 406.5 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001269, allocations: 66.12 kB / 0.5576 GB, free: 32.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1972, allocations: 76.19 MB / 0.632 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterDerivativeCheck): time 0.002495/0.1998, allocations: 1.253 MB / 0.6333 GB, free: 3.156 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003816/0.2036, allocations: 3.26 MB / 0.6365 GB, free: 15.87 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.251e-05/0.2037, allocations: 0 / 0.6365 GB, free: 15.87 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.553e-05/0.2037, allocations: 0 / 0.6365 GB, free: 15.87 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.275e-05/0.2038, allocations: 7.922 kB / 0.6365 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005446/0.2043, allocations: 103.5 kB / 0.6366 GB, free: 15.76 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.115e-05/0.2044, allocations: 35.8 kB / 0.6366 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.233e-05/0.2045, allocations: 11.98 kB / 0.6366 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.381e-05/0.2045, allocations: 15.98 kB / 0.6366 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.806e-05/0.2046, allocations: 19.92 kB / 0.6366 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.2046, allocations: 0 / 0.6366 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002285/0.2048, allocations: 79.8 kB / 0.6367 GB, free: 15.6 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.763e-05/0.2049, allocations: 11.98 kB / 0.6367 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.491e-05/0.2049, allocations: 11.94 kB / 0.6367 GB, free: 15.58 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.2051, allocations: 67.78 kB / 0.6368 GB, free: 15.51 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.894e-06/0.2051, allocations: 4 kB / 0.6368 GB, free: 15.51 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.2051, allocations: 3.938 kB / 0.6368 GB, free: 15.5 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.2051, allocations: 0 / 0.6368 GB, free: 15.5 MB / 494.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.0004291/0.2056, allocations: 347.5 kB / 0.6371 GB, free: 15.12 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.2056, allocations: 8.031 kB / 0.6371 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001181/0.2057, allocations: 8.922 kB / 0.6372 GB, free: 15.1 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.2058, allocations: 164.3 kB / 0.6373 GB, free: 14.9 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.2059, allocations: 8.375 kB / 0.6373 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.2059, allocations: 4.375 kB / 0.6373 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.206, allocations: 57.8 kB / 0.6374 GB, free: 14.83 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.2061, allocations: 0 / 0.6374 GB, free: 14.83 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.2061, allocations: 4 kB / 0.6374 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.2061, allocations: 0 / 0.6374 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.94e-05/0.2062, allocations: 27.91 kB / 0.6374 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001919/0.2064, allocations: 161.7 kB / 0.6376 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.796e-05/0.2065, allocations: 54.53 kB / 0.6376 GB, free: 14.53 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.285e-05/0.2065, allocations: 20.8 kB / 0.6376 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007461/0.2073, allocations: 0.5985 MB / 0.6382 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.2073, allocations: 34.56 kB / 0.6383 GB, free: 13.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.2073, allocations: 0 / 0.6383 GB, free: 13.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006836/0.208, allocations: 314.8 kB / 0.6386 GB, free: 13.39 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.2081, allocations: 51.41 kB / 0.6386 GB, free: 13.33 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.361e-05/0.2081, allocations: 105.8 kB / 0.6387 GB, free: 13.22 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.2082, allocations: 25.7 kB / 0.6387 GB, free: 13.19 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.96e-05/0.2082, allocations: 88.05 kB / 0.6388 GB, free: 13.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.2083, allocations: 27.55 kB / 0.6388 GB, free: 13.07 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.639e-05/0.2083, allocations: 25.72 kB / 0.6389 GB, free: 13.04 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.2084, allocations: 322.8 kB / 0.6392 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.468e-05/0.2084, allocations: 11.98 kB / 0.6392 GB, free: 12.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.115e-05/0.2085, allocations: 57.14 kB / 0.6392 GB, free: 12.63 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.931e-05/0.2086, allocations: 69.03 kB / 0.6393 GB, free: 12.54 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.2086, allocations: 0 / 0.6393 GB, free: 12.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001239/0.2087, allocations: 97.55 kB / 0.6394 GB, free: 12.44 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.2087, allocations: 8 kB / 0.6394 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.2087, allocations: 0 / 0.6394 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.2088, allocations: 7.984 kB / 0.6394 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.166e-05/0.2088, allocations: 16 kB / 0.6394 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.2089, allocations: 0 / 0.6394 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.27e-05/0.2089, allocations: 7.938 kB / 0.6394 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.2089, allocations: 7.938 kB / 0.6394 GB, free: 12.39 MB / 494.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 8.447e-05/0.209, allocations: 125.4 kB / 0.6396 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/0.209, allocations: 7.891 kB / 0.6396 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.042e-05/0.2091, allocations: 11.97 kB / 0.6396 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.2091, allocations: 0 / 0.6396 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2091, allocations: 0 / 0.6396 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.2091, allocations: 3.938 kB / 0.6396 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.2093, allocations: 173.7 kB / 0.6398 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2094, allocations: 0 / 0.6398 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.276e-05/0.2094, allocations: 12 kB / 0.6398 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.2095, allocations: 8.266 kB / 0.6398 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.802e-06/0.2095, allocations: 4 kB / 0.6398 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.2095, allocations: 0 / 0.6398 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2095, allocations: 0 / 0.6398 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.2097, allocations: 175.4 kB / 0.6399 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.57e-05/0.2097, allocations: 89.05 kB / 0.64 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.2098, allocations: 4 kB / 0.64 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.2099, allocations: 4 kB / 0.64 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.973e-05/0.2099, allocations: 7.984 kB / 0.64 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/0.2099, allocations: 7.938 kB / 0.64 GB, free: 11.68 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.771e-05/0.2099, allocations: 87.22 kB / 0.6401 GB, free: 11.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.21, allocations: 0 / 0.6401 GB, free: 11.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002276/0.2102, allocations: 8 kB / 0.6401 GB, free: 11.59 MB / 494.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.0001315/0.2103, allocations: 99.25 kB / 0.6402 GB, free: 11.48 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001235/0.2105, allocations: 44.09 kB / 0.6403 GB, free: 11.44 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2105, allocations: 8 kB / 0.6403 GB, free: 11.43 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.213e-05/0.2105, allocations: 16 kB / 0.6403 GB, free: 11.41 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.2108, allocations: 13.41 kB / 0.6403 GB, free: 11.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000574/0.2114, allocations: 322.3 kB / 0.6406 GB, free: 11.06 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.2117, allocations: 0.6807 MB / 0.6413 GB, free: 10.35 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.357e-05/0.2117, allocations: 11.98 kB / 0.6413 GB, free: 10.34 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.395e-05/0.2118, allocations: 11.44 kB / 0.6413 GB, free: 10.33 MB / 494.1 MB Notification: Performance of SimCode: time 1.8e-07/0.2118, allocations: 0 / 0.6413 GB, free: 10.33 MB / 494.1 MB Notification: Performance of Templates: time 0.003168/0.2149, allocations: 0.6218 MB / 0.6419 GB, free: 9.711 MB / 494.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)