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.001191/0.001191, allocations: 113.1 kB / 17.09 MB, free: 5.949 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.001144/0.001144, allocations: 198.8 kB / 18.03 MB, free: 5.031 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.209/1.209, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6569/0.6569, allocations: 115.3 MB / 407.2 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 62.95 kB / 0.5583 GB, free: 32.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1099, allocations: 76.19 MB / 0.6327 GB, free: 4.527 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterDerivativeCheck): time 0.001922/0.1119, allocations: 1.261 MB / 0.6339 GB, free: 3.258 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003053/0.1149, allocations: 3.253 MB / 0.6371 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.889e-05/0.115, allocations: 0 / 0.6371 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.577e-05/0.115, allocations: 0 / 0.6371 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.374e-05/0.115, allocations: 7.922 kB / 0.6371 GB, free: 15.97 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004112/0.1155, allocations: 103.5 kB / 0.6372 GB, free: 15.87 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.074e-05/0.1155, allocations: 35.8 kB / 0.6373 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.996e-05/0.1156, allocations: 12 kB / 0.6373 GB, free: 15.82 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.424e-05/0.1156, allocations: 15.97 kB / 0.6373 GB, free: 15.81 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.189e-05/0.1157, allocations: 19.92 kB / 0.6373 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.1157, allocations: 0 / 0.6373 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001895/0.1159, allocations: 87.73 kB / 0.6374 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.075e-05/0.1159, allocations: 4 kB / 0.6374 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.497e-05/0.1159, allocations: 19.92 kB / 0.6374 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.1161, allocations: 63.8 kB / 0.6375 GB, free: 15.62 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1161, allocations: 0 / 0.6375 GB, free: 15.62 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1161, allocations: 0 / 0.6375 GB, free: 15.62 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.1161, allocations: 0 / 0.6375 GB, free: 15.62 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.0003334/0.1164, allocations: 351.5 kB / 0.6378 GB, free: 15.23 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.1165, allocations: 8.031 kB / 0.6378 GB, free: 15.22 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.058e-05/0.1166, allocations: 4.938 kB / 0.6378 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.274e-05/0.1167, allocations: 168.3 kB / 0.638 GB, free: 15.01 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.1167, allocations: 4.375 kB / 0.638 GB, free: 15.01 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.1167, allocations: 8.359 kB / 0.638 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.1168, allocations: 61.73 kB / 0.6381 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.1168, allocations: 4 kB / 0.6381 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.1168, allocations: 3.984 kB / 0.6381 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1169, allocations: 4 kB / 0.6381 GB, free: 14.92 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.447e-05/0.1169, allocations: 15.98 kB / 0.6381 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001466/0.1171, allocations: 157.7 kB / 0.6382 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.726e-05/0.1172, allocations: 62.47 kB / 0.6383 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.597e-05/0.1172, allocations: 12.86 kB / 0.6383 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005787/0.1178, allocations: 0.6025 MB / 0.6389 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.1178, allocations: 38.55 kB / 0.6389 GB, free: 13.86 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.1178, allocations: 0 / 0.6389 GB, free: 13.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004749/0.1183, allocations: 306.7 kB / 0.6392 GB, free: 13.51 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.1183, allocations: 51.41 kB / 0.6393 GB, free: 13.45 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.398e-05/0.1184, allocations: 101.9 kB / 0.6394 GB, free: 13.34 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.1184, allocations: 25.7 kB / 0.6394 GB, free: 13.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.571e-05/0.1184, allocations: 92.03 kB / 0.6395 GB, free: 13.21 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.1185, allocations: 23.56 kB / 0.6395 GB, free: 13.19 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.1185, allocations: 29.7 kB / 0.6395 GB, free: 13.15 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.859e-05/0.1186, allocations: 322.8 kB / 0.6398 GB, free: 12.83 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.38e-05/0.1186, allocations: 11.98 kB / 0.6398 GB, free: 12.82 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.736e-05/0.1187, allocations: 57.09 kB / 0.6399 GB, free: 12.74 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.042e-05/0.1188, allocations: 69.08 kB / 0.64 GB, free: 12.66 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1188, allocations: 4 kB / 0.64 GB, free: 12.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001203/0.1189, allocations: 93.55 kB / 0.6401 GB, free: 12.55 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.1189, allocations: 8 kB / 0.6401 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.1189, allocations: 0 / 0.6401 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.1189, allocations: 4 kB / 0.6401 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.915e-05/0.119, allocations: 19.98 kB / 0.6401 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.119, allocations: 7.938 kB / 0.6401 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.522e-05/0.1191, allocations: 0 / 0.6401 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.1191, allocations: 7.938 kB / 0.6401 GB, free: 12.51 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 6.26e-05/0.1192, allocations: 125.4 kB / 0.6402 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.1192, allocations: 3.906 kB / 0.6402 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.509e-05/0.1192, allocations: 11.97 kB / 0.6402 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1192, allocations: 0 / 0.6402 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.1192, allocations: 0 / 0.6402 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.628e-05/0.1193, allocations: 81.09 kB / 0.6403 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.1193, allocations: 11.94 kB / 0.6403 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.1194, allocations: 0 / 0.6403 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.985e-05/0.1194, allocations: 11.98 kB / 0.6403 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001417/0.1196, allocations: 145.1 kB / 0.6405 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001782/0.1198, allocations: 254.7 kB / 0.6407 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.102e-05/0.1198, allocations: 24.3 kB / 0.6407 GB, free: 11.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.31e-05/0.1199, allocations: 83.31 kB / 0.6408 GB, free: 11.72 MB / 494.1 MB Notification: Performance of Backend: time 2.01e-07/0.1199, allocations: 0 / 0.6408 GB, free: 11.72 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003796/0.1203, allocations: 150.2 kB / 0.641 GB, free: 11.57 MB / 494.1 MB Notification: Performance of SimCode: time 0.000563/0.1208, allocations: 0.7612 MB / 0.6417 GB, free: 10.76 MB / 494.1 MB Notification: Performance of Templates: time 0.002831/0.1237, allocations: 0.9997 MB / 0.6427 GB, free: 9.758 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)