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/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.546/1.546, allocations: 292.3 MB / 308.1 MB, free: 4.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001174/0.001174, allocations: 186.2 kB / 376.9 MB, free: 1.824 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.25/1.25, allocations: 205.1 MB / 0.6354 GB, free: 9.793 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008842/0.0008842, allocations: 96.45 kB / 0.748 GB, free: 60.89 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001015/0.001016, allocations: 55.91 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2196, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001932/0.2215, allocations: 0.6494 MB / 0.9829 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003016/0.2219, allocations: 59.78 kB / 0.9829 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.836e-06/0.2219, allocations: 0 / 0.9829 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.4e-05/0.2219, allocations: 0 / 0.9829 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.2e-06/0.2219, allocations: 0 / 0.9829 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002039/0.2222, allocations: 11.98 kB / 0.9829 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.629e-05/0.2222, allocations: 3.938 kB / 0.9829 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.611e-05/0.2223, allocations: 4 kB / 0.9829 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 1.637e-05/0.2223, allocations: 3.984 kB / 0.9829 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.207e-05/0.2223, allocations: 4 kB / 0.9829 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.337e-06/0.2223, allocations: 0 / 0.9829 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.352e-05/0.2224, allocations: 19.98 kB / 0.983 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.265e-05/0.2224, allocations: 3.984 kB / 0.983 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.822e-05/0.2225, allocations: 3.938 kB / 0.983 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.42e-05/0.2226, allocations: 15.98 kB / 0.983 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.2226, allocations: 7.938 kB / 0.983 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.62e-07/0.2226, allocations: 0 / 0.983 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.2226, allocations: 0 / 0.983 GB, free: 9.602 MB / 0.7136 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.0002729/0.2229, allocations: 307.6 kB / 0.9833 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.2229, allocations: 12.03 kB / 0.9833 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002505/0.2232, allocations: 20.89 kB / 0.9833 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.47e-05/0.2233, allocations: 164.4 kB / 0.9835 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.2233, allocations: 384 / 0.9835 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.2233, allocations: 4.375 kB / 0.9835 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.2234, allocations: 34.25 kB / 0.9835 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.2235, allocations: 192 / 0.9835 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.2235, allocations: 7.938 kB / 0.9835 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.2235, allocations: 3.938 kB / 0.9835 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.258e-05/0.2236, allocations: 7.984 kB / 0.9835 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001309/0.2237, allocations: 149.6 kB / 0.9837 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.42e-05/0.2238, allocations: 22.58 kB / 0.9837 GB, free: 8.73 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.316e-05/0.2239, allocations: 12.91 kB / 0.9837 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.2239, allocations: 7.984 kB / 0.9837 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.2239, allocations: 38.56 kB / 0.9838 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.2239, allocations: 0 / 0.9838 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0002201/0.2242, allocations: 49.56 kB / 0.9838 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.2242, allocations: 55.39 kB / 0.9839 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.321e-05/0.2242, allocations: 89.86 kB / 0.9839 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.2243, allocations: 29.83 kB / 0.984 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.212e-05/0.2243, allocations: 84.14 kB / 0.984 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/0.2243, allocations: 3.906 kB / 0.984 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-05/0.2243, allocations: 13.72 kB / 0.9841 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.7e-05/0.2244, allocations: 310.8 kB / 0.9844 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.571e-05/0.2245, allocations: 3.984 kB / 0.9844 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.789e-05/0.2245, allocations: 8 kB / 0.9844 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.533e-05/0.2246, allocations: 20.91 kB / 0.9844 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2247, allocations: 0 / 0.9844 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001184/0.2248, allocations: 45.62 kB / 0.9844 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.2248, allocations: 8 kB / 0.9844 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.2248, allocations: 0 / 0.9844 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.2248, allocations: 3.938 kB / 0.9844 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.864e-05/0.2249, allocations: 7.984 kB / 0.9845 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.2249, allocations: 4.031 kB / 0.9845 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.975e-05/0.225, allocations: 0 / 0.9845 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.225, allocations: 3.984 kB / 0.9845 GB, free: 7.871 MB / 0.7136 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 7.008e-05/0.225, allocations: 113.8 kB / 0.9846 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.288e-06/0.2251, allocations: 3.984 kB / 0.9846 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.462e-05/0.2251, allocations: 11 kB / 0.9846 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2251, allocations: 0 / 0.9846 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.2251, allocations: 0 / 0.9846 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.2251, allocations: 0 / 0.9846 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.563e-05/0.2252, allocations: 146 kB / 0.9847 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2252, allocations: 4 kB / 0.9847 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.07e-05/0.2253, allocations: 7.922 kB / 0.9847 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2253, allocations: 0 / 0.9847 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.2253, allocations: 11.94 kB / 0.9847 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2253, allocations: 0 / 0.9847 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2253, allocations: 0 / 0.9847 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004072/0.2257, allocations: 0.6161 MB / 0.9853 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.525e-05/0.2257, allocations: 77.11 kB / 0.9854 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.779e-06/0.2258, allocations: 0 / 0.9854 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.443e-05/0.2258, allocations: 4 kB / 0.9854 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.462e-05/0.2258, allocations: 0 / 0.9854 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-06/0.2258, allocations: 3.938 kB / 0.9854 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.661e-05/0.2259, allocations: 79.31 kB / 0.9855 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.21e-07/0.2259, allocations: 0 / 0.9855 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002557/0.2261, allocations: 0 / 0.9855 GB, free: 6.668 MB / 0.7136 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.0001311/0.2263, allocations: 111.2 kB / 0.9856 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001298/0.2264, allocations: 15.98 kB / 0.9856 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2264, allocations: 0 / 0.9856 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.18e-05/0.2265, allocations: 4.062 kB / 0.9856 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001265/0.2266, allocations: 10.58 kB / 0.9856 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002908/0.2269, allocations: 185.7 kB / 0.9858 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.2271, allocations: 0.6731 MB / 0.9865 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.535e-05/0.2272, allocations: 0 / 0.9865 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.12e-05/0.2272, allocations: 11.44 kB / 0.9865 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of SimCode: time 2.335e-06/0.2272, allocations: 4 kB / 0.9865 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of Templates: time 0.001705/0.2289, allocations: 225 kB / 0.9867 GB, free: 5.367 MB / 0.7136 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)