Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7465/0.7465, allocations: 128.7 MB / 143.7 MB, free: 2.305 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001319/0.001319, allocations: 189.4 kB / 173.8 MB, free: 6.109 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.793/1.793, allocations: 205.4 MB / 409 MB, free: 10.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009063/0.0009067, allocations: 98.84 kB / 486.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003477/0.0003477, allocations: 10.78 kB / 0.5604 GB, free: 97.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1731, allocations: 76.75 MB / 0.6353 GB, free: 30.54 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1423/0.3154, allocations: 101.9 MB / 0.7348 GB, free: 8.516 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.3157, allocations: 79.94 kB / 0.7349 GB, free: 8.438 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.001365/0.3171, allocations: 0.5477 MB / 0.7354 GB, free: 7.887 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.545e-06/0.3171, allocations: 0 / 0.7354 GB, free: 7.887 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.3171, allocations: 4 kB / 0.7354 GB, free: 7.883 MB / 0.5105 GB 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.0002541/0.3174, allocations: 313.9 kB / 0.7357 GB, free: 7.531 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.3175, allocations: 12.09 kB / 0.7357 GB, free: 7.52 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001874/0.3176, allocations: 23.92 kB / 0.7358 GB, free: 7.496 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.3178, allocations: 163 kB / 0.7359 GB, free: 7.297 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.3178, allocations: 0 / 0.7359 GB, free: 7.297 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.3178, allocations: 0 / 0.7359 GB, free: 7.297 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.3179, allocations: 41.67 kB / 0.736 GB, free: 7.25 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.318, allocations: 3.938 kB / 0.736 GB, free: 7.246 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.318, allocations: 0 / 0.736 GB, free: 7.246 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.318, allocations: 0 / 0.736 GB, free: 7.246 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.375e-05/0.3181, allocations: 11.98 kB / 0.736 GB, free: 7.234 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001469/0.3182, allocations: 153.6 kB / 0.7361 GB, free: 7.035 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.984e-05/0.3183, allocations: 22.55 kB / 0.7361 GB, free: 7.004 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.3183, allocations: 4 kB / 0.7361 GB, free: 7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.3184, allocations: 30.56 kB / 0.7362 GB, free: 6.961 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.3184, allocations: 0 / 0.7362 GB, free: 6.961 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.000214/0.3186, allocations: 49.73 kB / 0.7362 GB, free: 6.906 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.3186, allocations: 51.41 kB / 0.7363 GB, free: 6.844 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.89e-05/0.3187, allocations: 85 kB / 0.7364 GB, free: 6.754 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.3187, allocations: 29.83 kB / 0.7364 GB, free: 6.719 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.545e-05/0.3187, allocations: 84.14 kB / 0.7365 GB, free: 6.633 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.3188, allocations: 0 / 0.7365 GB, free: 6.633 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-06/0.3188, allocations: 0 / 0.7365 GB, free: 6.633 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.3189, allocations: 318.7 kB / 0.7368 GB, free: 6.312 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.58e-05/0.3189, allocations: 7.984 kB / 0.7368 GB, free: 6.305 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.148e-05/0.319, allocations: 0 / 0.7368 GB, free: 6.305 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.678e-05/0.319, allocations: 12.05 kB / 0.7368 GB, free: 6.293 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3191, allocations: 0 / 0.7368 GB, free: 6.293 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001101/0.3192, allocations: 45.69 kB / 0.7368 GB, free: 6.242 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.3192, allocations: 6.5 kB / 0.7368 GB, free: 6.238 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.3192, allocations: 0 / 0.7368 GB, free: 6.238 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.3192, allocations: 0 / 0.7368 GB, free: 6.238 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.018e-05/0.3193, allocations: 7.984 kB / 0.7368 GB, free: 6.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.3193, allocations: 0 / 0.7368 GB, free: 6.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.288e-05/0.3193, allocations: 0 / 0.7368 GB, free: 6.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.3194, allocations: 11.97 kB / 0.7369 GB, free: 6.219 MB / 0.5105 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.217e-05/0.3194, allocations: 109.8 kB / 0.737 GB, free: 6.102 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.766e-06/0.3195, allocations: 3.906 kB / 0.737 GB, free: 6.098 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.426e-05/0.3195, allocations: 7.109 kB / 0.737 GB, free: 6.09 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.3195, allocations: 3.938 kB / 0.737 GB, free: 6.086 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.3195, allocations: 0 / 0.737 GB, free: 6.086 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3195, allocations: 4 kB / 0.737 GB, free: 6.082 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.3196, allocations: 145.6 kB / 0.7371 GB, free: 5.891 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.3197, allocations: 4 kB / 0.7371 GB, free: 5.887 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.36e-05/0.3197, allocations: 11.98 kB / 0.7371 GB, free: 5.875 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3197, allocations: 0 / 0.7371 GB, free: 5.875 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.3197, allocations: 0 / 0.7371 GB, free: 5.875 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3197, allocations: 0 / 0.7371 GB, free: 5.875 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.3197, allocations: 0 / 0.7371 GB, free: 5.875 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.3199, allocations: 65.06 kB / 0.7372 GB, free: 5.793 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.899e-05/0.3199, allocations: 89.08 kB / 0.7373 GB, free: 5.688 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.3199, allocations: 0 / 0.7373 GB, free: 5.688 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.8e-05/0.32, allocations: 0 / 0.7373 GB, free: 5.688 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.692e-05/0.32, allocations: 4 kB / 0.7373 GB, free: 5.684 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.32, allocations: 4 kB / 0.7373 GB, free: 5.68 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.756e-05/0.3201, allocations: 79.28 kB / 0.7374 GB, free: 5.602 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.954e-06/0.3201, allocations: 0 / 0.7374 GB, free: 5.602 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000176/0.3202, allocations: 3.938 kB / 0.7374 GB, free: 5.598 MB / 0.5105 GB 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 (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.0001367/0.3204, allocations: 103 kB / 0.7375 GB, free: 5.484 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000136/0.3205, allocations: 11.98 kB / 0.7375 GB, free: 5.473 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3205, allocations: 0 / 0.7375 GB, free: 5.473 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.091e-05/0.3206, allocations: 7.984 kB / 0.7375 GB, free: 5.465 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.966e-05/0.3207, allocations: 4 kB / 0.7375 GB, free: 5.461 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000239/0.3209, allocations: 90.75 kB / 0.7376 GB, free: 5.344 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.3212, allocations: 0.6731 MB / 0.7382 GB, free: 4.645 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.138e-05/0.3213, allocations: 8 kB / 0.7382 GB, free: 4.637 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.723e-05/0.3213, allocations: 7.438 kB / 0.7382 GB, free: 4.629 MB / 0.5105 GB Notification: Performance of SimCode: time 3.71e-07/0.3213, allocations: 0 / 0.7382 GB, free: 4.629 MB / 0.5105 GB Notification: Performance of Templates: time 0.001991/0.3233, allocations: 216.1 kB / 0.7385 GB, free: 4.418 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)