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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5074/0.5074, allocations: 90.92 MB / 99.35 MB, free: 2.234 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 221.5 MB / 343.2 MB, free: 1.617 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008741/0.0008741, allocations: 90.62 kB / 415.9 MB, free: 11.19 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.819e-05/1.821e-05, allocations: 4 kB / 494.5 MB, free: 52.42 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1085, allocations: 72.31 MB / 0.5535 GB, free: 12.29 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4138/0.5223, allocations: 100.1 MB / 0.6513 GB, free: 10.25 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.5226, allocations: 77.12 kB / 0.6513 GB, free: 10.2 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001227/0.5238, allocations: 0.545 MB / 0.6519 GB, free: 9.684 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.5239, allocations: 3.938 kB / 0.6519 GB, free: 9.68 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.5239, allocations: 0 / 0.6519 GB, free: 9.68 MB / 458.7 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.0002049/0.5241, allocations: 302.5 kB / 0.6522 GB, free: 9.34 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.5241, allocations: 12.03 kB / 0.6522 GB, free: 9.328 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001745/0.5243, allocations: 19.92 kB / 0.6522 GB, free: 9.309 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.582e-05/0.5244, allocations: 166.8 kB / 0.6523 GB, free: 9.109 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.5244, allocations: 0 / 0.6523 GB, free: 9.109 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.5245, allocations: 0 / 0.6523 GB, free: 9.109 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.364e-05/0.5245, allocations: 7.984 kB / 0.6523 GB, free: 9.102 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.58e-05/0.5246, allocations: 25.7 kB / 0.6524 GB, free: 9.07 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.5246, allocations: 0 / 0.6524 GB, free: 9.07 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.5246, allocations: 0 / 0.6524 GB, free: 9.07 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.5246, allocations: 3.953 kB / 0.6524 GB, free: 9.066 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001154/0.5247, allocations: 130.2 kB / 0.6525 GB, free: 8.902 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.52e-05/0.5248, allocations: 25.92 kB / 0.6525 GB, free: 8.871 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.391e-05/0.5248, allocations: 4.859 kB / 0.6525 GB, free: 8.863 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.5248, allocations: 4.094 kB / 0.6525 GB, free: 8.859 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.5248, allocations: 34.25 kB / 0.6526 GB, free: 8.82 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.5249, allocations: 0 / 0.6526 GB, free: 8.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.000105/0.525, allocations: 33.69 kB / 0.6526 GB, free: 8.781 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.525, allocations: 54.14 kB / 0.6527 GB, free: 8.719 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.675e-05/0.525, allocations: 89.03 kB / 0.6527 GB, free: 8.625 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.5251, allocations: 25.7 kB / 0.6528 GB, free: 8.594 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.905e-05/0.5251, allocations: 80.14 kB / 0.6528 GB, free: 8.512 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.5251, allocations: 4.531 kB / 0.6528 GB, free: 8.508 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-06/0.5251, allocations: 0 / 0.6528 GB, free: 8.508 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.464e-05/0.5252, allocations: 322.7 kB / 0.6531 GB, free: 8.184 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.664e-06/0.5252, allocations: 0 / 0.6531 GB, free: 8.184 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.06e-06/0.5252, allocations: 0 / 0.6531 GB, free: 8.184 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.544e-05/0.5253, allocations: 4.062 kB / 0.6532 GB, free: 8.18 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.5253, allocations: 4 kB / 0.6532 GB, free: 8.176 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.848e-05/0.5253, allocations: 37.25 kB / 0.6532 GB, free: 8.137 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.5253, allocations: 4 kB / 0.6532 GB, free: 8.133 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.5254, allocations: 2.188 kB / 0.6532 GB, free: 8.133 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.5254, allocations: 0 / 0.6532 GB, free: 8.133 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.381e-05/0.5254, allocations: 4 kB / 0.6532 GB, free: 8.129 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.5254, allocations: 0 / 0.6532 GB, free: 8.129 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.251e-05/0.5255, allocations: 7.984 kB / 0.6532 GB, free: 8.121 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.5255, allocations: 0 / 0.6532 GB, free: 8.121 MB / 458.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.158e-05/0.5256, allocations: 109 kB / 0.6533 GB, free: 8.008 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.632e-06/0.5256, allocations: 0 / 0.6533 GB, free: 8.008 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.391e-05/0.5256, allocations: 3.75 kB / 0.6533 GB, free: 8.008 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.5256, allocations: 3.938 kB / 0.6533 GB, free: 8.004 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.5256, allocations: 4 kB / 0.6533 GB, free: 8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.5256, allocations: 0 / 0.6533 GB, free: 8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.421e-05/0.5257, allocations: 130.2 kB / 0.6534 GB, free: 7.836 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.5257, allocations: 3.938 kB / 0.6535 GB, free: 7.832 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.968e-05/0.5257, allocations: 11.95 kB / 0.6535 GB, free: 7.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.5258, allocations: 0 / 0.6535 GB, free: 7.82 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.5258, allocations: 3.984 kB / 0.6535 GB, free: 7.816 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.5258, allocations: 0 / 0.6535 GB, free: 7.816 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.5258, allocations: 3.625 kB / 0.6535 GB, free: 7.816 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.177e-05/0.5259, allocations: 60.81 kB / 0.6535 GB, free: 7.742 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.668e-05/0.5259, allocations: 77.11 kB / 0.6536 GB, free: 7.648 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.5259, allocations: 3.953 kB / 0.6536 GB, free: 7.645 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.033e-05/0.5259, allocations: 4.031 kB / 0.6536 GB, free: 7.641 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.136e-05/0.526, allocations: 7.984 kB / 0.6536 GB, free: 7.633 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.526, allocations: 0 / 0.6536 GB, free: 7.633 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.861e-05/0.526, allocations: 75.28 kB / 0.6537 GB, free: 7.559 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.526, allocations: 0 / 0.6537 GB, free: 7.559 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001525/0.5262, allocations: 0 / 0.6537 GB, free: 7.559 MB / 458.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001249/0.5263, allocations: 95.25 kB / 0.6538 GB, free: 7.453 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 5.296e-05/0.5264, allocations: 11.94 kB / 0.6538 GB, free: 7.441 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.5264, allocations: 0 / 0.6538 GB, free: 7.441 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.965e-06/0.5264, allocations: 4 kB / 0.6538 GB, free: 7.438 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.155e-05/0.5265, allocations: 0.9375 kB / 0.6538 GB, free: 7.438 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001455/0.5266, allocations: 47.75 kB / 0.6538 GB, free: 7.371 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.5268, allocations: 0.6768 MB / 0.6545 GB, free: 6.668 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.469e-05/0.5269, allocations: 4.125 kB / 0.6545 GB, free: 6.664 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.01e-05/0.5269, allocations: 7.438 kB / 0.6545 GB, free: 6.656 MB / 458.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5269, allocations: 0 / 0.6545 GB, free: 6.656 MB / 458.7 MB Notification: Performance of Templates: time 0.001469/0.5284, allocations: 207.4 kB / 0.6547 GB, free: 6.465 MB / 458.7 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)