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.001283/0.001283, allocations: 110 kB / 16.41 MB, free: 6.426 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.001199/0.001199, allocations: 189.2 kB / 17.34 MB, free: 5.73 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.289/1.289, allocations: 222.9 MB / 241 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.6971/0.6971, allocations: 115.3 MB / 406.5 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 68.3 kB / 0.5577 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1399, allocations: 76.17 MB / 0.6321 GB, free: 4.371 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001414/0.1414, allocations: 0.5766 MB / 0.6327 GB, free: 3.797 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002154/0.1416, allocations: 43.84 kB / 0.6327 GB, free: 3.754 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.269e-05/0.1416, allocations: 0 / 0.6327 GB, free: 3.754 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.577e-05/0.1417, allocations: 4 kB / 0.6327 GB, free: 3.75 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.719e-06/0.1417, allocations: 0 / 0.6327 GB, free: 3.75 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.1419, allocations: 11.94 kB / 0.6327 GB, free: 3.738 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 3.535e-05/0.1419, allocations: 3.984 kB / 0.6327 GB, free: 3.734 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.142, allocations: 0 / 0.6327 GB, free: 3.734 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.255e-05/0.142, allocations: 11.98 kB / 0.6328 GB, free: 3.723 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.682e-05/0.142, allocations: 0 / 0.6328 GB, free: 3.723 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.866e-06/0.142, allocations: 0 / 0.6328 GB, free: 3.723 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.867e-05/0.1421, allocations: 27.92 kB / 0.6328 GB, free: 3.695 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.394e-06/0.1421, allocations: 0 / 0.6328 GB, free: 3.695 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.19e-05/0.1422, allocations: 0 / 0.6328 GB, free: 3.695 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 6.822e-05/0.1422, allocations: 15.97 kB / 0.6328 GB, free: 3.68 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1422, allocations: 0 / 0.6328 GB, free: 3.68 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1422, allocations: 4 kB / 0.6328 GB, free: 3.676 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.1422, allocations: 0 / 0.6328 GB, free: 3.676 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.0002801/0.1425, allocations: 311.6 kB / 0.6331 GB, free: 3.32 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.1426, allocations: 8.031 kB / 0.6331 GB, free: 3.312 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002266/0.1428, allocations: 24.84 kB / 0.6331 GB, free: 3.289 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.978e-05/0.1429, allocations: 164.4 kB / 0.6333 GB, free: 3.09 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.803e-06/0.1429, allocations: 384 / 0.6333 GB, free: 3.09 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.1429, allocations: 4.375 kB / 0.6333 GB, free: 3.086 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.143, allocations: 34.25 kB / 0.6333 GB, free: 3.047 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.1431, allocations: 192 / 0.6333 GB, free: 3.047 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.1431, allocations: 7.938 kB / 0.6333 GB, free: 3.039 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-06/0.1431, allocations: 0 / 0.6333 GB, free: 3.039 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.171e-05/0.1432, allocations: 7.984 kB / 0.6333 GB, free: 3.031 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001187/0.1433, allocations: 149.7 kB / 0.6335 GB, free: 2.836 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.626e-05/0.1434, allocations: 26.91 kB / 0.6335 GB, free: 2.801 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.542e-05/0.1434, allocations: 8.859 kB / 0.6335 GB, free: 2.789 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.1434, allocations: 4 kB / 0.6335 GB, free: 2.785 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.1435, allocations: 38.55 kB / 0.6336 GB, free: 2.738 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.1435, allocations: 0 / 0.6336 GB, free: 2.738 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002162/0.1437, allocations: 45.62 kB / 0.6336 GB, free: 2.688 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.1437, allocations: 55.34 kB / 0.6336 GB, free: 2.621 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.957e-05/0.1438, allocations: 93.8 kB / 0.6337 GB, free: 2.52 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.1438, allocations: 33.83 kB / 0.6338 GB, free: 2.48 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.319e-05/0.1438, allocations: 80.14 kB / 0.6338 GB, free: 2.398 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/0.1439, allocations: 7.969 kB / 0.6339 GB, free: 2.391 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.1439, allocations: 13.72 kB / 0.6339 GB, free: 2.371 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.144, allocations: 314.8 kB / 0.6342 GB, free: 2.055 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.689e-05/0.1441, allocations: 4 kB / 0.6342 GB, free: 2.051 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.793e-05/0.1441, allocations: 3.984 kB / 0.6342 GB, free: 2.047 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.984e-05/0.1442, allocations: 20.91 kB / 0.6342 GB, free: 2.023 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1442, allocations: 0 / 0.6342 GB, free: 2.023 MB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001186/0.1443, allocations: 41.69 kB / 0.6342 GB, free: 1.977 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1444, allocations: 8 kB / 0.6342 GB, free: 1.969 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.1444, allocations: 0 / 0.6342 GB, free: 1.969 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1444, allocations: 7.875 kB / 0.6343 GB, free: 1.961 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.325e-05/0.1444, allocations: 7.984 kB / 0.6343 GB, free: 1.953 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.1445, allocations: 4.031 kB / 0.6343 GB, free: 1.949 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.246e-05/0.1445, allocations: 3.906 kB / 0.6343 GB, free: 1.945 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.1445, allocations: 0 / 0.6343 GB, free: 1.945 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.574e-05/0.1446, allocations: 109.8 kB / 0.6344 GB, free: 1.828 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.017e-06/0.1446, allocations: 4 kB / 0.6344 GB, free: 1.824 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.607e-05/0.1446, allocations: 7.062 kB / 0.6344 GB, free: 1.816 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1446, allocations: 3.984 kB / 0.6344 GB, free: 1.812 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1446, allocations: 0 / 0.6344 GB, free: 1.812 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.1446, allocations: 4 kB / 0.6344 GB, free: 1.809 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.982e-05/0.1447, allocations: 149.7 kB / 0.6345 GB, free: 1.613 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1447, allocations: 0 / 0.6345 GB, free: 1.613 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.03e-05/0.1448, allocations: 3.984 kB / 0.6345 GB, free: 1.609 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.1448, allocations: 0 / 0.6345 GB, free: 1.609 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.852e-06/0.1448, allocations: 7.938 kB / 0.6345 GB, free: 1.602 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.1448, allocations: 0 / 0.6345 GB, free: 1.602 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1448, allocations: 0 / 0.6345 GB, free: 1.602 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.145, allocations: 69.05 kB / 0.6346 GB, free: 1.516 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.862e-05/0.145, allocations: 85.03 kB / 0.6347 GB, free: 1.414 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.145, allocations: 7.938 kB / 0.6347 GB, free: 1.406 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.142e-05/0.1451, allocations: 7.938 kB / 0.6347 GB, free: 1.398 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.379e-05/0.1451, allocations: 0 / 0.6347 GB, free: 1.398 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.1451, allocations: 3.938 kB / 0.6347 GB, free: 1.395 MB / 478.1 MB Notification: Performance of sorting global known variables: time 2.439e-05/0.1451, allocations: 75.28 kB / 0.6348 GB, free: 1.32 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1451, allocations: 4 kB / 0.6348 GB, free: 1.316 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0001686/0.1453, allocations: 4.031 kB / 0.6348 GB, free: 1.312 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0001137/0.1454, allocations: 95.25 kB / 0.6349 GB, free: 1.207 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001318/0.1455, allocations: 11.98 kB / 0.6349 GB, free: 1.195 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1456, allocations: 0 / 0.6349 GB, free: 1.195 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 4.326e-05/0.1456, allocations: 7.984 kB / 0.6349 GB, free: 1.188 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/0.1457, allocations: 1.719 kB / 0.6349 GB, free: 1.188 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002415/0.146, allocations: 101.1 kB / 0.635 GB, free: 1.062 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/0.1462, allocations: 0.669 MB / 0.6356 GB, free: 376 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 2.863e-05/0.1463, allocations: 0 / 0.6356 GB, free: 376 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.149e-05/0.1463, allocations: 11.42 kB / 0.6357 GB, free: 364 kB / 478.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1463, allocations: 4 kB / 0.6357 GB, free: 360 kB / 478.1 MB Notification: Performance of Templates: time 0.001646/0.148, allocations: 220.9 kB / 0.6359 GB, free: 140 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)