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.001439/0.001439, allocations: 117 kB / 16.38 MB, free: 6.004 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.001299/0.001299, allocations: 189.2 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.542/1.542, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.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.802/1.802, allocations: 292.3 MB / 0.5496 GB, free: 17.53 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.001454/0.001455, allocations: 82.7 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2903, allocations: 114.5 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.002083/0.2925, allocations: 0.5898 MB / 0.7854 GB, free: 2.566 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002708/0.2927, allocations: 51.84 kB / 0.7854 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.095e-05/0.2928, allocations: 0 / 0.7854 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.621e-05/0.2928, allocations: 3.938 kB / 0.7854 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.41e-06/0.2928, allocations: 0 / 0.7854 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002423/0.2931, allocations: 11.98 kB / 0.7854 GB, free: 2.5 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.752e-05/0.2931, allocations: 7.938 kB / 0.7854 GB, free: 2.492 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.409e-05/0.2932, allocations: 7.984 kB / 0.7855 GB, free: 2.484 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.449e-05/0.2932, allocations: 0 / 0.7855 GB, free: 2.484 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.363e-05/0.2932, allocations: 3.938 kB / 0.7855 GB, free: 2.48 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.2932, allocations: 0 / 0.7855 GB, free: 2.48 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.2934, allocations: 19.98 kB / 0.7855 GB, free: 2.461 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.023e-05/0.2934, allocations: 0 / 0.7855 GB, free: 2.461 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.384e-05/0.2934, allocations: 7.984 kB / 0.7855 GB, free: 2.453 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.762e-05/0.2935, allocations: 15.98 kB / 0.7855 GB, free: 2.438 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.626e-05/0.2935, allocations: 7.922 kB / 0.7855 GB, free: 2.43 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2935, allocations: 0 / 0.7855 GB, free: 2.43 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.705e-06/0.2935, allocations: 0 / 0.7855 GB, free: 2.43 MB / 0.6544 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.0003479/0.2939, allocations: 315.6 kB / 0.7858 GB, free: 2.07 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.2939, allocations: 8.031 kB / 0.7858 GB, free: 2.062 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002694/0.2942, allocations: 20.91 kB / 0.7858 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.2943, allocations: 164.4 kB / 0.786 GB, free: 1.844 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.2944, allocations: 384 / 0.786 GB, free: 1.844 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.2944, allocations: 384 / 0.786 GB, free: 1.844 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.2945, allocations: 34.25 kB / 0.786 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.2945, allocations: 4.188 kB / 0.786 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.2945, allocations: 7.922 kB / 0.786 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.2946, allocations: 0 / 0.786 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.642e-05/0.2946, allocations: 11.98 kB / 0.786 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001639/0.2948, allocations: 145.7 kB / 0.7862 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.779e-05/0.2949, allocations: 26.53 kB / 0.7862 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.294e-05/0.295, allocations: 12.92 kB / 0.7862 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.295, allocations: 0 / 0.7862 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.295, allocations: 30.56 kB / 0.7863 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 2.855e-06/0.295, allocations: 0 / 0.7863 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0002441/0.2953, allocations: 61.48 kB / 0.7863 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.2953, allocations: 51.41 kB / 0.7864 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.206e-05/0.2954, allocations: 93.98 kB / 0.7865 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.2954, allocations: 25.7 kB / 0.7865 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.166e-05/0.2954, allocations: 80.14 kB / 0.7866 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.178e-05/0.2955, allocations: 0 / 0.7866 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/0.2955, allocations: 17.7 kB / 0.7866 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.2956, allocations: 310.8 kB / 0.7869 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.524e-05/0.2957, allocations: 4 kB / 0.7869 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.876e-05/0.2957, allocations: 7.984 kB / 0.7869 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.004e-05/0.2958, allocations: 20.91 kB / 0.7869 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2958, allocations: 0 / 0.7869 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001233/0.296, allocations: 45.62 kB / 0.7869 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.296, allocations: 7.938 kB / 0.7869 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.296, allocations: 0 / 0.7869 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.296, allocations: 7.938 kB / 0.787 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.236e-05/0.2961, allocations: 12.02 kB / 0.787 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.2961, allocations: 0 / 0.787 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.621e-05/0.2962, allocations: 7.906 kB / 0.787 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.2962, allocations: 0 / 0.787 GB, free: 0.6992 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.681e-05/0.2962, allocations: 105.8 kB / 0.7871 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.053e-06/0.2962, allocations: 0 / 0.7871 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.015e-05/0.2963, allocations: 7.062 kB / 0.7871 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.2963, allocations: 0 / 0.7871 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2963, allocations: 4 kB / 0.7871 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.604e-05/0.2963, allocations: 4 kB / 0.7871 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.2964, allocations: 149.7 kB / 0.7872 GB, free: 384 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2964, allocations: 0 / 0.7872 GB, free: 384 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.921e-05/0.2965, allocations: 4 kB / 0.7872 GB, free: 380 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.2965, allocations: 3.984 kB / 0.7872 GB, free: 376 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.2965, allocations: 3.938 kB / 0.7872 GB, free: 372 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2965, allocations: 0 / 0.7872 GB, free: 372 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2965, allocations: 0 / 0.7872 GB, free: 372 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.2967, allocations: 73.06 kB / 0.7873 GB, free: 280 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.2967, allocations: 77.11 kB / 0.7874 GB, free: 184 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.2967, allocations: 3.938 kB / 0.7874 GB, free: 180 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.126e-05/0.2968, allocations: 7.922 kB / 0.7874 GB, free: 172 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.614e-05/0.2968, allocations: 4 kB / 0.7874 GB, free: 168 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.2968, allocations: 0 / 0.7874 GB, free: 168 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.999e-05/0.2968, allocations: 75.28 kB / 0.7875 GB, free: 92 kB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2968, allocations: 0 / 0.7875 GB, free: 92 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001706/0.297, allocations: 4.031 kB / 0.7875 GB, free: 88 kB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.4598/0.7568, allocations: 103.2 kB / 0.7876 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000282/0.7572, allocations: 9.016 kB / 0.7876 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.7572, allocations: 0 / 0.7876 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.552e-05/0.7572, allocations: 9.719 kB / 0.7876 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001756/0.7574, allocations: 3.344 kB / 0.7876 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003291/0.7578, allocations: 108.9 kB / 0.7877 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.7579, allocations: 0.6726 MB / 0.7884 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.73e-05/0.7579, allocations: 9.594 kB / 0.7884 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.7579, allocations: 0 / 0.7884 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of Templates: time 0.001763/0.7597, allocations: 395.8 kB / 0.7887 GB, free: 47.85 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile (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)