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.8672/0.8672, allocations: 143.4 MB / 159.2 MB, free: 4.859 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 184.4 kB / 191.9 MB, free: 5.734 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.356/1.356, allocations: 222.9 MB / 447.3 MB, free: 5.867 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.001039/0.001039, allocations: 99.75 kB / 0.517 GB, free: 3.734 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001924/0.001925, allocations: 277.4 kB / 0.5973 GB, free: 49.39 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 88.2 kB / 0.6885 GB, free: 3.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3419, allocations: 81.28 MB / 0.7679 GB, free: 27.68 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegStep): time 0.001683/0.3436, allocations: 0.6385 MB / 0.7686 GB, free: 27.04 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002414/0.3439, allocations: 59.05 kB / 0.7686 GB, free: 26.99 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.006e-05/0.3439, allocations: 0 / 0.7686 GB, free: 26.99 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.61e-05/0.3439, allocations: 0 / 0.7686 GB, free: 26.99 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.03e-06/0.3439, allocations: 3.938 kB / 0.7686 GB, free: 26.98 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000198/0.3441, allocations: 19.92 kB / 0.7686 GB, free: 26.96 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 5.837e-05/0.3442, allocations: 0 / 0.7686 GB, free: 26.96 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.921e-05/0.3442, allocations: 0 / 0.7686 GB, free: 26.96 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.378e-05/0.3442, allocations: 7.984 kB / 0.7686 GB, free: 26.96 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.083e-05/0.3443, allocations: 0 / 0.7686 GB, free: 26.96 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 9.698e-06/0.3443, allocations: 4 kB / 0.7686 GB, free: 26.95 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.477e-05/0.3444, allocations: 19.97 kB / 0.7687 GB, free: 26.93 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 9.388e-06/0.3444, allocations: 4 kB / 0.7687 GB, free: 26.93 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 1.654e-05/0.3444, allocations: 0 / 0.7687 GB, free: 26.93 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 7.721e-05/0.3445, allocations: 11.98 kB / 0.7687 GB, free: 26.92 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3445, allocations: 0 / 0.7687 GB, free: 26.92 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3445, allocations: 0 / 0.7687 GB, free: 26.92 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.3445, allocations: 7.938 kB / 0.7687 GB, free: 26.91 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.0002119/0.3447, allocations: 307.5 kB / 0.769 GB, free: 26.56 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.3448, allocations: 12.09 kB / 0.769 GB, free: 26.55 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002415/0.345, allocations: 20.91 kB / 0.769 GB, free: 26.53 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.011e-05/0.3451, allocations: 160.4 kB / 0.7692 GB, free: 26.33 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.3451, allocations: 4.375 kB / 0.7692 GB, free: 26.33 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-06/0.3451, allocations: 384 / 0.7692 GB, free: 26.33 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.3453, allocations: 40.25 kB / 0.7692 GB, free: 26.29 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.3453, allocations: 192 / 0.7692 GB, free: 26.29 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.3453, allocations: 7.938 kB / 0.7692 GB, free: 26.28 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3453, allocations: 7.984 kB / 0.7692 GB, free: 26.27 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.084e-05/0.3454, allocations: 7.984 kB / 0.7692 GB, free: 26.26 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.946e-05/0.3455, allocations: 145.7 kB / 0.7694 GB, free: 26.07 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.554e-05/0.3456, allocations: 22.61 kB / 0.7694 GB, free: 26.04 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.485e-05/0.3456, allocations: 12.91 kB / 0.7694 GB, free: 26.02 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.3456, allocations: 0 / 0.7694 GB, free: 26.02 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.562e-05/0.3457, allocations: 42.5 kB / 0.7694 GB, free: 25.97 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.3457, allocations: 0 / 0.7694 GB, free: 25.97 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.00021/0.3459, allocations: 45.61 kB / 0.7695 GB, free: 25.92 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.945e-05/0.3459, allocations: 55.41 kB / 0.7695 GB, free: 25.86 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.56e-05/0.3459, allocations: 89.86 kB / 0.7696 GB, free: 25.76 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.221e-06/0.3459, allocations: 25.7 kB / 0.7696 GB, free: 25.73 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.102e-05/0.346, allocations: 88.25 kB / 0.7697 GB, free: 25.64 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.346, allocations: 6.672 kB / 0.7697 GB, free: 25.63 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.357e-05/0.346, allocations: 9.719 kB / 0.7697 GB, free: 25.62 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.112e-05/0.3461, allocations: 314.8 kB / 0.77 GB, free: 25.3 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.228e-05/0.3461, allocations: 3.984 kB / 0.7701 GB, free: 25.3 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.529e-05/0.3461, allocations: 4 kB / 0.7701 GB, free: 25.29 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.999e-05/0.3462, allocations: 24.84 kB / 0.7701 GB, free: 25.27 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3462, allocations: 3.938 kB / 0.7701 GB, free: 25.26 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001007/0.3463, allocations: 45.67 kB / 0.7701 GB, free: 25.21 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.3464, allocations: 8.938 kB / 0.7701 GB, free: 25.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.3464, allocations: 0 / 0.7701 GB, free: 25.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.3464, allocations: 3.938 kB / 0.7701 GB, free: 25.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.296e-05/0.3465, allocations: 0 / 0.7701 GB, free: 25.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.3465, allocations: 7.938 kB / 0.7701 GB, free: 25.19 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.965e-05/0.3465, allocations: 4.031 kB / 0.7701 GB, free: 25.19 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.3465, allocations: 3.984 kB / 0.7702 GB, free: 25.18 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 () * 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 4.007e-05/0.3466, allocations: 106.4 kB / 0.7703 GB, free: 25.07 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.633e-06/0.3466, allocations: 4 kB / 0.7703 GB, free: 25.07 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.359e-05/0.3466, allocations: 7.062 kB / 0.7703 GB, free: 25.06 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.3466, allocations: 4 kB / 0.7703 GB, free: 25.06 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3466, allocations: 0 / 0.7703 GB, free: 25.06 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.3466, allocations: 0 / 0.7703 GB, free: 25.06 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.535e-05/0.3467, allocations: 149.6 kB / 0.7704 GB, free: 24.86 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3467, allocations: 4 kB / 0.7704 GB, free: 24.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.673e-05/0.3467, allocations: 7.938 kB / 0.7704 GB, free: 24.85 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3467, allocations: 0 / 0.7704 GB, free: 24.85 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.3467, allocations: 3.938 kB / 0.7704 GB, free: 24.85 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3467, allocations: 4 kB / 0.7704 GB, free: 24.84 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3467, allocations: 0 / 0.7704 GB, free: 24.84 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.347, allocations: 0.6201 MB / 0.771 GB, free: 24.16 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.596e-05/0.347, allocations: 77.11 kB / 0.7711 GB, free: 24.07 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.949e-06/0.347, allocations: 0 / 0.7711 GB, free: 24.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.94e-05/0.3471, allocations: 0 / 0.7711 GB, free: 24.07 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.081e-05/0.3471, allocations: 7.984 kB / 0.7711 GB, free: 24.06 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.3471, allocations: 0 / 0.7711 GB, free: 24.06 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.129e-05/0.3471, allocations: 75.28 kB / 0.7712 GB, free: 23.99 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3471, allocations: 32 / 0.7712 GB, free: 23.99 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002685/0.3474, allocations: 4 kB / 0.7712 GB, free: 23.98 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 () * 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 9.072e-05/0.3475, allocations: 99.25 kB / 0.7713 GB, free: 23.88 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001266/0.3476, allocations: 11.98 kB / 0.7713 GB, free: 23.86 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.3476, allocations: 4 kB / 0.7713 GB, free: 23.86 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.063e-05/0.3477, allocations: 11.92 kB / 0.7713 GB, free: 23.85 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001233/0.3478, allocations: 5.594 kB / 0.7713 GB, free: 23.84 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002567/0.3481, allocations: 185.7 kB / 0.7715 GB, free: 23.62 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.3482, allocations: 0.6692 MB / 0.7721 GB, free: 22.93 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.102e-05/0.3482, allocations: 4 kB / 0.7722 GB, free: 22.92 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.008e-05/0.3483, allocations: 11.44 kB / 0.7722 GB, free: 22.91 MB / 458.7 MB Notification: Performance of SimCode: time 2e-07/0.3483, allocations: 4 kB / 0.7722 GB, free: 22.91 MB / 458.7 MB Notification: Performance of Templates: time 0.001638/0.3499, allocations: 238.4 kB / 0.7724 GB, free: 22.68 MB / 458.7 MB 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)