Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0009906/0.0009906, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001111/0.001111, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.603/1.603, allocations: 205.4 MB / 222.1 MB, free: 5.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.691/1.691, allocations: 292.5 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009194/0.0009196, allocations: 17.25 kB / 0.6736 GB, free: 26.44 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2712, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.0007398/0.272, allocations: 321.8 kB / 0.7874 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002368/0.2722, allocations: 45.55 kB / 0.7875 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.657e-05/0.2723, allocations: 3.938 kB / 0.7875 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.183e-05/0.2723, allocations: 0 / 0.7875 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.679e-06/0.2723, allocations: 0 / 0.7875 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.2725, allocations: 11.98 kB / 0.7875 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.247e-05/0.2726, allocations: 0 / 0.7875 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.105e-05/0.2726, allocations: 0 / 0.7875 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.473e-05/0.2726, allocations: 4 kB / 0.7875 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.831e-05/0.2727, allocations: 7.984 kB / 0.7875 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.506e-06/0.2727, allocations: 0 / 0.7875 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.075e-05/0.2728, allocations: 15.98 kB / 0.7875 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.554e-06/0.2728, allocations: 7.922 kB / 0.7875 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.524e-05/0.2728, allocations: 25.7 kB / 0.7875 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.044e-05/0.2729, allocations: 15.98 kB / 0.7876 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.2729, allocations: 0 / 0.7876 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2729, allocations: 0 / 0.7876 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.2729, allocations: 0 / 0.7876 GB, free: 11.49 MB / 0.6075 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.0002609/0.2732, allocations: 307.4 kB / 0.7878 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.2732, allocations: 16.09 kB / 0.7879 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002609/0.2735, allocations: 19.95 kB / 0.7879 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.2736, allocations: 167 kB / 0.788 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.2736, allocations: 4 kB / 0.788 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.2736, allocations: 3.984 kB / 0.7881 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.2738, allocations: 33.69 kB / 0.7881 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.2738, allocations: 0 / 0.7881 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.2738, allocations: 4 kB / 0.7881 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.2738, allocations: 7.938 kB / 0.7881 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.498e-05/0.2739, allocations: 11.98 kB / 0.7881 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001338/0.274, allocations: 149.6 kB / 0.7882 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.764e-05/0.2741, allocations: 22.55 kB / 0.7883 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.2741, allocations: 0 / 0.7883 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.2742, allocations: 38.62 kB / 0.7883 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.2742, allocations: 0 / 0.7883 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0002188/0.2744, allocations: 45.67 kB / 0.7884 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.2744, allocations: 55.41 kB / 0.7884 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.086e-05/0.2745, allocations: 89.86 kB / 0.7885 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.2745, allocations: 25.7 kB / 0.7885 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.594e-05/0.2745, allocations: 80.27 kB / 0.7886 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.2746, allocations: 7.906 kB / 0.7886 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-06/0.2746, allocations: 0 / 0.7886 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.2747, allocations: 310.8 kB / 0.7889 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.709e-05/0.2747, allocations: 11.92 kB / 0.7889 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.718e-05/0.2748, allocations: 4 kB / 0.7889 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.01e-05/0.2748, allocations: 11.98 kB / 0.7889 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.2748, allocations: 0 / 0.7889 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001173/0.275, allocations: 49.64 kB / 0.789 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.275, allocations: 4 kB / 0.789 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.275, allocations: 0 / 0.789 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.275, allocations: 4 kB / 0.789 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.874e-05/0.2751, allocations: 3.984 kB / 0.789 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.2751, allocations: 3.984 kB / 0.789 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.404e-05/0.2751, allocations: 4 kB / 0.789 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.2752, allocations: 0 / 0.789 GB, free: 9.812 MB / 0.6075 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 7.118e-05/0.2752, allocations: 109.9 kB / 0.7891 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.838e-06/0.2752, allocations: 3.953 kB / 0.7891 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.853e-05/0.2753, allocations: 7.125 kB / 0.7891 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.2753, allocations: 0 / 0.7891 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.2753, allocations: 3.984 kB / 0.7891 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.2753, allocations: 3.938 kB / 0.7891 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.2754, allocations: 146 kB / 0.7892 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2754, allocations: 0 / 0.7892 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.417e-05/0.2755, allocations: 7.984 kB / 0.7893 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.2755, allocations: 4 kB / 0.7893 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.2755, allocations: 3.953 kB / 0.7893 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.2755, allocations: 0 / 0.7893 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.2755, allocations: 0 / 0.7893 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.2757, allocations: 61.12 kB / 0.7893 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.14e-05/0.2757, allocations: 81.11 kB / 0.7894 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.2757, allocations: 7.953 kB / 0.7894 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.335e-05/0.2758, allocations: 11.95 kB / 0.7894 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.153e-05/0.2758, allocations: 0 / 0.7894 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.2758, allocations: 0 / 0.7894 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.563e-05/0.2758, allocations: 75.28 kB / 0.7895 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2758, allocations: 0 / 0.7895 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001874/0.276, allocations: 0 / 0.7895 GB, free: 9.195 MB / 0.6075 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.0001129/0.2761, allocations: 107.1 kB / 0.7896 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001269/0.2763, allocations: 15.98 kB / 0.7896 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2763, allocations: 0 / 0.7896 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.303e-05/0.2763, allocations: 7.984 kB / 0.7896 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.822e-05/0.2764, allocations: 0 / 0.7896 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002173/0.2766, allocations: 86.69 kB / 0.7897 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.2769, allocations: 0.677 MB / 0.7904 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.567e-05/0.2769, allocations: 8.109 kB / 0.7904 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.05e-05/0.2769, allocations: 7.438 kB / 0.7904 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of SimCode: time 4.71e-07/0.2769, allocations: 0 / 0.7904 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of Templates: time 0.001801/0.2787, allocations: 220.1 kB / 0.7906 GB, free: 8.012 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) Environment - environmentSimulation: