Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.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.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep") translateModel(IBPSA.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 118 kB / 17.09 MB, free: 5.988 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.001181/0.001181, allocations: 197.5 kB / 18.03 MB, free: 5.062 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.232/1.232, allocations: 222.9 MB / 241.7 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.663/0.663, allocations: 115.3 MB / 407.2 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 66.48 kB / 0.5584 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1128, allocations: 76.18 MB / 0.6328 GB, free: 4.344 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001633/0.1145, allocations: 0.5688 MB / 0.6333 GB, free: 3.777 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002495/0.1148, allocations: 51.78 kB / 0.6334 GB, free: 3.727 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.517e-05/0.1148, allocations: 0 / 0.6334 GB, free: 3.727 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.125e-05/0.1148, allocations: 0 / 0.6334 GB, free: 3.727 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.46e-06/0.1148, allocations: 0 / 0.6334 GB, free: 3.727 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002226/0.1151, allocations: 11.92 kB / 0.6334 GB, free: 3.715 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.083e-05/0.1151, allocations: 4 kB / 0.6334 GB, free: 3.711 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.048e-05/0.1151, allocations: 8 kB / 0.6334 GB, free: 3.703 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.234e-05/0.1152, allocations: 0 / 0.6334 GB, free: 3.703 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.154e-05/0.1152, allocations: 4 kB / 0.6334 GB, free: 3.699 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.578e-06/0.1152, allocations: 0 / 0.6334 GB, free: 3.699 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.885e-05/0.1153, allocations: 27.91 kB / 0.6334 GB, free: 3.672 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.306e-06/0.1153, allocations: 0 / 0.6334 GB, free: 3.672 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.903e-05/0.1153, allocations: 3.984 kB / 0.6334 GB, free: 3.668 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 7.295e-05/0.1154, allocations: 15.98 kB / 0.6335 GB, free: 3.652 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1154, allocations: 0 / 0.6335 GB, free: 3.652 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1154, allocations: 0 / 0.6335 GB, free: 3.652 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.1155, allocations: 0 / 0.6335 GB, free: 3.652 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002577/0.1157, allocations: 315.6 kB / 0.6338 GB, free: 3.293 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.1158, allocations: 8.031 kB / 0.6338 GB, free: 3.285 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002406/0.116, allocations: 20.91 kB / 0.6338 GB, free: 3.266 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.154e-05/0.1161, allocations: 160.4 kB / 0.6339 GB, free: 3.07 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.1161, allocations: 384 / 0.6339 GB, free: 3.07 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.595e-06/0.1161, allocations: 384 / 0.6339 GB, free: 3.07 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.1163, allocations: 38.23 kB / 0.634 GB, free: 3.027 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.1163, allocations: 4.188 kB / 0.634 GB, free: 3.023 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.1163, allocations: 7.938 kB / 0.634 GB, free: 3.016 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.1163, allocations: 0 / 0.634 GB, free: 3.016 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.423e-05/0.1164, allocations: 15.92 kB / 0.634 GB, free: 3 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001319/0.1165, allocations: 141.7 kB / 0.6341 GB, free: 2.812 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.024e-05/0.1166, allocations: 26.92 kB / 0.6342 GB, free: 2.777 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.898e-05/0.1167, allocations: 12.92 kB / 0.6342 GB, free: 2.762 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.1167, allocations: 0 / 0.6342 GB, free: 2.762 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.1167, allocations: 34.56 kB / 0.6342 GB, free: 2.719 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.1167, allocations: 0 / 0.6342 GB, free: 2.719 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002263/0.1169, allocations: 53.55 kB / 0.6343 GB, free: 2.66 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.117, allocations: 55.34 kB / 0.6343 GB, free: 2.594 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.008e-05/0.117, allocations: 97.92 kB / 0.6344 GB, free: 2.488 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.117, allocations: 25.7 kB / 0.6344 GB, free: 2.457 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.167e-05/0.1171, allocations: 80.14 kB / 0.6345 GB, free: 2.375 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.1171, allocations: 4 kB / 0.6345 GB, free: 2.371 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.1171, allocations: 13.72 kB / 0.6345 GB, free: 2.352 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.1172, allocations: 318.8 kB / 0.6348 GB, free: 2.031 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.54e-05/0.1173, allocations: 4 kB / 0.6348 GB, free: 2.027 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.032e-05/0.1173, allocations: 11.98 kB / 0.6348 GB, free: 2.016 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.663e-05/0.1174, allocations: 8.859 kB / 0.6349 GB, free: 2.004 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.1174, allocations: 0 / 0.6349 GB, free: 2.004 MB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000117/0.1176, allocations: 49.61 kB / 0.6349 GB, free: 1.949 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.1176, allocations: 4 kB / 0.6349 GB, free: 1.945 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.1176, allocations: 0 / 0.6349 GB, free: 1.945 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1176, allocations: 3.938 kB / 0.6349 GB, free: 1.941 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-05/0.1177, allocations: 8.094 kB / 0.6349 GB, free: 1.934 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1177, allocations: 0 / 0.6349 GB, free: 1.934 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.863e-05/0.1177, allocations: 11.89 kB / 0.6349 GB, free: 1.922 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.1178, allocations: 0 / 0.6349 GB, free: 1.922 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.665e-05/0.1178, allocations: 109.8 kB / 0.635 GB, free: 1.805 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.313e-06/0.1178, allocations: 0 / 0.635 GB, free: 1.805 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.618e-05/0.1179, allocations: 3.125 kB / 0.635 GB, free: 1.801 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1179, allocations: 3.938 kB / 0.635 GB, free: 1.797 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.1179, allocations: 8 kB / 0.635 GB, free: 1.789 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.757e-05/0.1179, allocations: 77.11 kB / 0.6351 GB, free: 1.695 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.1179, allocations: 3.984 kB / 0.6351 GB, free: 1.691 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.524e-05/0.118, allocations: 4 kB / 0.6351 GB, free: 1.688 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.807e-06/0.118, allocations: 0 / 0.6351 GB, free: 1.688 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001659/0.1182, allocations: 120.9 kB / 0.6352 GB, free: 1.562 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001779/0.1183, allocations: 218.8 kB / 0.6355 GB, free: 1.332 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.634e-05/0.1184, allocations: 4 kB / 0.6355 GB, free: 1.328 MB / 478.1 MB Notification: Performance of sorting global known variables: time 2.412e-05/0.1184, allocations: 79.27 kB / 0.6355 GB, free: 1.25 MB / 478.1 MB Notification: Performance of Backend: time 2.81e-07/0.1184, allocations: 0 / 0.6355 GB, free: 1.25 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0003922/0.1188, allocations: 102.3 kB / 0.6356 GB, free: 1.141 MB / 478.1 MB Notification: Performance of SimCode: time 0.0003043/0.1191, allocations: 0.5255 MB / 0.6361 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of Templates: time 0.002041/0.1212, allocations: 440.8 kB / 0.6366 GB, free: 144 kB / 478.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)