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.00123/0.001229, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001421/0.001421, allocations: 192.7 kB / 16.13 MB, free: 6.699 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.415/1.415, allocations: 205.1 MB / 222 MB, free: 4.75 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.808/1.808, allocations: 292.3 MB / 0.5484 GB, free: 13.69 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.001351/0.001351, allocations: 73.34 kB / 0.6708 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2356, allocations: 114.5 MB / 0.7827 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001798/0.2375, allocations: 0.647 MB / 0.7833 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002723/0.2377, allocations: 51.8 kB / 0.7834 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.184e-05/0.2378, allocations: 0 / 0.7834 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.419e-05/0.2378, allocations: 0 / 0.7834 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.579e-06/0.2378, allocations: 0 / 0.7834 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002089/0.238, allocations: 23.91 kB / 0.7834 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.109e-05/0.2381, allocations: 4 kB / 0.7834 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.707e-05/0.2381, allocations: 0 / 0.7834 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.306e-05/0.2381, allocations: 0 / 0.7834 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.026e-05/0.2382, allocations: 0 / 0.7834 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.2382, allocations: 0 / 0.7834 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.2383, allocations: 27.97 kB / 0.7834 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.321e-05/0.2383, allocations: 0 / 0.7834 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.109e-05/0.2384, allocations: 0 / 0.7834 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.2385, allocations: 23.91 kB / 0.7834 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.2385, allocations: 0 / 0.7834 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2385, allocations: 0 / 0.7834 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.2385, allocations: 0 / 0.7834 GB, free: 13.24 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.0003929/0.2389, allocations: 319.6 kB / 0.7837 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.2389, allocations: 8.031 kB / 0.7838 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003009/0.2393, allocations: 24.91 kB / 0.7838 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.902e-05/0.2394, allocations: 160.4 kB / 0.7839 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.2394, allocations: 4.359 kB / 0.7839 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.2394, allocations: 384 / 0.7839 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.2396, allocations: 38.19 kB / 0.784 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.2396, allocations: 192 / 0.784 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.2396, allocations: 7.922 kB / 0.784 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.2396, allocations: 0 / 0.784 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.477e-05/0.2397, allocations: 12 kB / 0.784 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001775/0.2399, allocations: 149.7 kB / 0.7841 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.915e-05/0.24, allocations: 18.61 kB / 0.7841 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.433e-05/0.24, allocations: 12.91 kB / 0.7842 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.2401, allocations: 0 / 0.7842 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.2401, allocations: 38.5 kB / 0.7842 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.2401, allocations: 0 / 0.7842 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0002378/0.2403, allocations: 49.61 kB / 0.7842 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.2404, allocations: 55.41 kB / 0.7843 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.543e-05/0.2404, allocations: 89.86 kB / 0.7844 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.2404, allocations: 25.7 kB / 0.7844 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.627e-05/0.2405, allocations: 80.14 kB / 0.7845 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.2405, allocations: 8.031 kB / 0.7845 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.2405, allocations: 21.66 kB / 0.7845 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.515e-05/0.2406, allocations: 314.8 kB / 0.7848 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.704e-05/0.2407, allocations: 4 kB / 0.7848 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.58e-05/0.2407, allocations: 7.984 kB / 0.7848 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.793e-05/0.2408, allocations: 16.8 kB / 0.7848 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2408, allocations: 8 kB / 0.7848 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001205/0.241, allocations: 45.67 kB / 0.7849 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.241, allocations: 4 kB / 0.7849 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.241, allocations: 0 / 0.7849 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.241, allocations: 3.938 kB / 0.7849 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.56e-05/0.2411, allocations: 4 kB / 0.7849 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.2411, allocations: 0 / 0.7849 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.503e-05/0.2411, allocations: 3.984 kB / 0.7849 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.2412, allocations: 8.031 kB / 0.7849 GB, free: 11.5 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.353e-05/0.2412, allocations: 106.5 kB / 0.785 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.466e-06/0.2412, allocations: 4 kB / 0.785 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.861e-05/0.2413, allocations: 7.062 kB / 0.785 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.2413, allocations: 0 / 0.785 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2413, allocations: 0 / 0.785 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.2413, allocations: 4 kB / 0.785 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.441e-05/0.2414, allocations: 150 kB / 0.7852 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2414, allocations: 0 / 0.7852 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.232e-05/0.2414, allocations: 11.94 kB / 0.7852 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.2414, allocations: 0 / 0.7852 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.2415, allocations: 3.938 kB / 0.7852 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.2415, allocations: 0 / 0.7852 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2415, allocations: 0 / 0.7852 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.2416, allocations: 69.11 kB / 0.7853 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.755e-05/0.2417, allocations: 77.14 kB / 0.7853 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.2417, allocations: 7.938 kB / 0.7853 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.964e-05/0.2417, allocations: 0 / 0.7853 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.963e-05/0.2417, allocations: 7.984 kB / 0.7853 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.2417, allocations: 0 / 0.7853 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.303e-05/0.2418, allocations: 75.28 kB / 0.7854 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.2418, allocations: 0 / 0.7854 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000169/0.2419, allocations: 0 / 0.7854 GB, free: 10.89 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 (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.0001316/0.2421, allocations: 107.2 kB / 0.7855 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001336/0.2422, allocations: 15.92 kB / 0.7855 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2422, allocations: 0 / 0.7855 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.199e-05/0.2423, allocations: 7.984 kB / 0.7855 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.2424, allocations: 0 / 0.7855 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002076/0.2426, allocations: 91.62 kB / 0.7856 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001944/0.2428, allocations: 0.6733 MB / 0.7863 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.623e-05/0.2429, allocations: 7.984 kB / 0.7863 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.129e-05/0.2429, allocations: 7.438 kB / 0.7863 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2429, allocations: 0 / 0.7863 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of Templates: time 0.001807/0.2447, allocations: 217 kB / 0.7865 GB, free: 9.711 MB / 0.6075 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)