Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8008/0.8008, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 184.1 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 221.3 MB / 441.4 MB, free: 4.668 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008962/0.0008965, allocations: 100.8 kB / 0.5124 GB, free: 24.16 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001949/0.001949, allocations: 268.7 kB / 0.5939 GB, free: 8.008 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.518e-05/3.522e-05, allocations: 4 kB / 0.6835 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4895/0.4896, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1268/0.6164, allocations: 107.8 MB / 0.8696 GB, free: 0.7461 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/0.6166, allocations: 80.64 kB / 0.8697 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.001182/0.6178, allocations: 0.5429 MB / 0.8702 GB, free: 136 kB / 0.5261 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6179, allocations: 0 / 0.8702 GB, free: 136 kB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.808e-06/0.6179, allocations: 0.75 kB / 0.8702 GB, free: 136 kB / 0.5261 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.0002398/0.6181, allocations: 316.4 kB / 0.8705 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.6182, allocations: 12.62 kB / 0.8705 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001792/0.6184, allocations: 12.64 kB / 0.8705 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.6185, allocations: 163.6 kB / 0.8707 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.6185, allocations: 8.609 kB / 0.8707 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.776e-06/0.6185, allocations: 0 / 0.8707 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.616e-05/0.6186, allocations: 30.3 kB / 0.8707 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.6186, allocations: 4.766 kB / 0.8707 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.6186, allocations: 0 / 0.8707 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.6187, allocations: 3.156 kB / 0.8707 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.553e-05/0.6187, allocations: 3.938 kB / 0.8707 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001564/0.6189, allocations: 149.7 kB / 0.8709 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 4.187e-05/0.6189, allocations: 14.58 kB / 0.8709 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.029e-05/0.6189, allocations: 12.91 kB / 0.8709 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.619, allocations: 0.5938 kB / 0.8709 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.619, allocations: 38.05 kB / 0.8709 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.619, allocations: 0 / 0.8709 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 0.0001207/0.6191, allocations: 33.64 kB / 0.871 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.6192, allocations: 55.41 kB / 0.871 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.647e-05/0.6192, allocations: 85 kB / 0.8711 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.6192, allocations: 25.7 kB / 0.8711 GB, free: 15 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.71e-05/0.6193, allocations: 80.14 kB / 0.8712 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.6193, allocations: 8.031 kB / 0.8712 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-06/0.6193, allocations: 0 / 0.8712 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.6194, allocations: 310.8 kB / 0.8715 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.355e-05/0.6195, allocations: 3.984 kB / 0.8715 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.317e-06/0.6195, allocations: 4 kB / 0.8715 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.864e-05/0.6195, allocations: 0 / 0.8715 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.6195, allocations: 0 / 0.8715 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.377e-05/0.6196, allocations: 29.7 kB / 0.8715 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.6196, allocations: 13.61 kB / 0.8716 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.6196, allocations: 7.938 kB / 0.8716 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.6196, allocations: 0 / 0.8716 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.502e-05/0.6197, allocations: 15.86 kB / 0.8716 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.6197, allocations: 0 / 0.8716 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.941e-05/0.6198, allocations: 0 / 0.8716 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.6198, allocations: 0 / 0.8716 GB, free: 14.52 MB / 0.5417 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 () * 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 7.927e-05/0.6198, allocations: 109 kB / 0.8717 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.402e-06/0.6199, allocations: 0 / 0.8717 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.218e-05/0.6199, allocations: 15.06 kB / 0.8717 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-06/0.6199, allocations: 0 / 0.8717 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.6199, allocations: 0 / 0.8717 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.6199, allocations: 0 / 0.8717 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.62, allocations: 145.7 kB / 0.8718 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.62, allocations: 0 / 0.8718 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.889e-05/0.6201, allocations: 3.984 kB / 0.8718 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.6201, allocations: 0 / 0.8718 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.6201, allocations: 4 kB / 0.8718 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.6201, allocations: 3.953 kB / 0.8718 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.6201, allocations: 4 kB / 0.8718 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.739e-05/0.6202, allocations: 61.06 kB / 0.8719 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.852e-05/0.6202, allocations: 81.11 kB / 0.872 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.6203, allocations: 0 / 0.872 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.213e-05/0.6203, allocations: 0 / 0.872 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.355e-05/0.6203, allocations: 3.953 kB / 0.872 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.6203, allocations: 8 kB / 0.872 GB, free: 14 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.657e-05/0.6204, allocations: 79.31 kB / 0.8721 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6204, allocations: 0 / 0.8721 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001708/0.6206, allocations: 0 / 0.8721 GB, free: 13.93 MB / 0.5417 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 () * 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.0001207/0.6207, allocations: 99.23 kB / 0.8722 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 5.64e-05/0.6207, allocations: 4 kB / 0.8722 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.6208, allocations: 0 / 0.8722 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.187e-05/0.6208, allocations: 8 kB / 0.8722 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.382e-05/0.6209, allocations: 128 / 0.8722 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001708/0.621, allocations: 65.11 kB / 0.8722 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.6213, allocations: 0.6692 MB / 0.8729 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 6.137e-05/0.6214, allocations: 7.984 kB / 0.8729 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.218e-05/0.6214, allocations: 7.438 kB / 0.8729 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of SimCode: time 2.61e-07/0.6214, allocations: 4 kB / 0.8729 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of Templates: time 0.001736/0.6231, allocations: 223 kB / 0.8731 GB, free: 12.79 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)