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.001133/0.001134, allocations: 107 kB / 16.4 MB, free: 6.402 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.001038/0.001039, allocations: 195.1 kB / 17.34 MB, free: 5.695 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7699/0.7699, allocations: 115.3 MB / 406.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 67.75 kB / 0.5577 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.2004, allocations: 76.18 MB / 0.6321 GB, free: 4.359 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001724/0.2022, allocations: 0.5727 MB / 0.6327 GB, free: 3.789 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002699/0.2025, allocations: 51.78 kB / 0.6327 GB, free: 3.738 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.55e-05/0.2025, allocations: 0 / 0.6327 GB, free: 3.738 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.649e-05/0.2025, allocations: 0 / 0.6327 GB, free: 3.738 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.241e-06/0.2026, allocations: 0 / 0.6327 GB, free: 3.738 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.2028, allocations: 7.938 kB / 0.6327 GB, free: 3.73 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.822e-05/0.2029, allocations: 3.984 kB / 0.6327 GB, free: 3.727 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.101e-05/0.2029, allocations: 12 kB / 0.6328 GB, free: 3.715 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.655e-05/0.2029, allocations: 0 / 0.6328 GB, free: 3.715 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.866e-05/0.203, allocations: 3.984 kB / 0.6328 GB, free: 3.711 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.417e-06/0.203, allocations: 3.938 kB / 0.6328 GB, free: 3.707 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.2031, allocations: 23.98 kB / 0.6328 GB, free: 3.684 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.978e-06/0.2031, allocations: 0 / 0.6328 GB, free: 3.684 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.556e-05/0.2031, allocations: 0 / 0.6328 GB, free: 3.684 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 9.096e-05/0.2032, allocations: 19.97 kB / 0.6328 GB, free: 3.664 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2032, allocations: 0 / 0.6328 GB, free: 3.664 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.2032, allocations: 0 / 0.6328 GB, free: 3.664 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.2033, allocations: 0 / 0.6328 GB, free: 3.664 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.0003219/0.2036, allocations: 311.6 kB / 0.6331 GB, free: 3.309 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.2036, allocations: 8.031 kB / 0.6331 GB, free: 3.301 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002712/0.2039, allocations: 16.91 kB / 0.6331 GB, free: 3.285 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.204, allocations: 164.4 kB / 0.6333 GB, free: 3.086 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.204, allocations: 384 / 0.6333 GB, free: 3.086 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.2041, allocations: 4.375 kB / 0.6333 GB, free: 3.082 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.2042, allocations: 42.19 kB / 0.6333 GB, free: 3.035 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.2042, allocations: 192 / 0.6333 GB, free: 3.035 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.2043, allocations: 7.938 kB / 0.6333 GB, free: 3.027 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.2043, allocations: 0 / 0.6333 GB, free: 3.027 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.785e-05/0.2044, allocations: 11.92 kB / 0.6333 GB, free: 3.016 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001538/0.2045, allocations: 145.7 kB / 0.6335 GB, free: 2.824 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.72e-05/0.2046, allocations: 22.94 kB / 0.6335 GB, free: 2.793 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.986e-05/0.2047, allocations: 8.859 kB / 0.6335 GB, free: 2.781 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.2047, allocations: 4.062 kB / 0.6335 GB, free: 2.777 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.2047, allocations: 42.48 kB / 0.6336 GB, free: 2.727 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.2047, allocations: 0 / 0.6336 GB, free: 2.727 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002403/0.205, allocations: 45.62 kB / 0.6336 GB, free: 2.676 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.205, allocations: 55.47 kB / 0.6337 GB, free: 2.609 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.774e-05/0.2051, allocations: 93.86 kB / 0.6337 GB, free: 2.508 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.2051, allocations: 25.7 kB / 0.6338 GB, free: 2.477 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.515e-05/0.2051, allocations: 80.14 kB / 0.6338 GB, free: 2.395 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.2052, allocations: 3.984 kB / 0.6338 GB, free: 2.391 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/0.2052, allocations: 17.72 kB / 0.6339 GB, free: 2.367 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.2053, allocations: 314.8 kB / 0.6342 GB, free: 2.051 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.856e-05/0.2054, allocations: 4 kB / 0.6342 GB, free: 2.047 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.021e-05/0.2054, allocations: 7.984 kB / 0.6342 GB, free: 2.039 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.261e-05/0.2055, allocations: 20.78 kB / 0.6342 GB, free: 2.016 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2055, allocations: 0 / 0.6342 GB, free: 2.016 MB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001199/0.2057, allocations: 41.69 kB / 0.6342 GB, free: 1.969 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.2057, allocations: 4 kB / 0.6342 GB, free: 1.965 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.2057, allocations: 0 / 0.6342 GB, free: 1.965 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.2057, allocations: 4.031 kB / 0.6342 GB, free: 1.961 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.265e-05/0.2058, allocations: 11.98 kB / 0.6343 GB, free: 1.949 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.2058, allocations: 0 / 0.6343 GB, free: 1.949 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.06e-05/0.2059, allocations: 3.906 kB / 0.6343 GB, free: 1.945 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.2059, 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 8.621e-05/0.206, allocations: 113.8 kB / 0.6344 GB, free: 1.824 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.404e-06/0.206, allocations: 0 / 0.6344 GB, free: 1.824 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.879e-05/0.206, allocations: 7.062 kB / 0.6344 GB, free: 1.816 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.206, allocations: 3.984 kB / 0.6344 GB, free: 1.812 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2061, allocations: 4 kB / 0.6344 GB, free: 1.809 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.2061, allocations: 3.938 kB / 0.6344 GB, free: 1.805 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.2062, allocations: 149.7 kB / 0.6345 GB, free: 1.609 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.2062, allocations: 7.984 kB / 0.6345 GB, free: 1.602 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.175e-05/0.2062, allocations: 3.984 kB / 0.6345 GB, free: 1.598 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2062, allocations: 4 kB / 0.6345 GB, free: 1.594 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.2063, allocations: 3.938 kB / 0.6345 GB, free: 1.59 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.2063, allocations: 0 / 0.6345 GB, free: 1.59 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2063, allocations: 0 / 0.6345 GB, free: 1.59 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.2064, allocations: 65.12 kB / 0.6346 GB, free: 1.508 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.286e-05/0.2065, allocations: 89.03 kB / 0.6347 GB, free: 1.402 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.2065, allocations: 7.875 kB / 0.6347 GB, free: 1.395 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.166e-05/0.2065, allocations: 0 / 0.6347 GB, free: 1.395 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.245e-05/0.2066, allocations: 3.938 kB / 0.6347 GB, free: 1.391 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.2066, allocations: 4 kB / 0.6347 GB, free: 1.387 MB / 478.1 MB Notification: Performance of sorting global known variables: time 2.765e-05/0.2066, allocations: 75.31 kB / 0.6348 GB, free: 1.312 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2066, allocations: 4 kB / 0.6348 GB, free: 1.309 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0001784/0.2068, allocations: 0 / 0.6348 GB, free: 1.309 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.0001332/0.2069, allocations: 99.19 kB / 0.6349 GB, free: 1.199 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001495/0.2071, allocations: 15.98 kB / 0.6349 GB, free: 1.184 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2071, allocations: 0 / 0.6349 GB, free: 1.184 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 4.458e-05/0.2072, allocations: 7.984 kB / 0.6349 GB, free: 1.176 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/0.2073, allocations: 9.531 kB / 0.6349 GB, free: 1.168 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002506/0.2076, allocations: 91.05 kB / 0.635 GB, free: 1.055 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.2078, allocations: 0.669 MB / 0.6357 GB, free: 368 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 2.86e-05/0.2078, allocations: 0 / 0.6357 GB, free: 368 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.464e-05/0.2078, allocations: 15.42 kB / 0.6357 GB, free: 352 kB / 478.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2078, allocations: 4 kB / 0.6357 GB, free: 348 kB / 478.1 MB Notification: Performance of Templates: time 0.001995/0.2098, allocations: 220.9 kB / 0.6359 GB, free: 128 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)