Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001375/0.001375, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.01205/0.01205, allocations: 170.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.967/2.967, allocations: 473.4 MB / 0.7469 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003418/0.0003418, allocations: 10.84 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3323, allocations: 162.2 MB / 1.074 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.0006293/0.3329, allocations: 318.9 kB / 1.074 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002322/0.3332, allocations: 51.8 kB / 1.074 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.264e-06/0.3332, allocations: 0 / 1.074 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.103e-05/0.3332, allocations: 7.938 kB / 1.075 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.118e-06/0.3332, allocations: 0 / 1.075 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001794/0.3334, allocations: 11.97 kB / 1.075 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 2.814e-05/0.3335, allocations: 4 kB / 1.075 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.1e-05/0.3335, allocations: 0 / 1.075 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.153e-05/0.3335, allocations: 4 kB / 1.075 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.961e-05/0.3335, allocations: 4 kB / 1.075 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.874e-06/0.3336, allocations: 0 / 1.075 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.497e-05/0.3336, allocations: 19.97 kB / 1.075 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.788e-06/0.3337, allocations: 4 kB / 1.075 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.207e-05/0.3337, allocations: 25.7 kB / 1.075 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.823e-05/0.3338, allocations: 15.97 kB / 1.075 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3338, allocations: 3.938 kB / 1.075 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3338, allocations: 0 / 1.075 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.216e-06/0.3338, allocations: 0 / 1.075 GB, free: 7.047 MB / 0.8262 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.0002502/0.334, allocations: 323.6 kB / 1.075 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.3341, allocations: 8.031 kB / 1.075 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002466/0.3343, allocations: 20.89 kB / 1.075 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.773e-05/0.3344, allocations: 160.4 kB / 1.075 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.3344, allocations: 4.375 kB / 1.075 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.554e-06/0.3345, allocations: 384 / 1.075 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.3346, allocations: 38.19 kB / 1.075 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.3346, allocations: 4.188 kB / 1.075 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.3346, allocations: 3.938 kB / 1.075 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.3346, allocations: 0 / 1.075 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.721e-05/0.3347, allocations: 7.984 kB / 1.075 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001207/0.3348, allocations: 149.7 kB / 1.075 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.949e-05/0.3349, allocations: 24.77 kB / 1.075 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.486e-05/0.335, allocations: 16.91 kB / 1.075 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.335, allocations: 3.938 kB / 1.075 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.3351, allocations: 30.56 kB / 1.075 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.3351, allocations: 0 / 1.075 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.00022/0.3353, allocations: 45.62 kB / 1.075 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.3353, allocations: 55.41 kB / 1.075 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.115e-05/0.3354, allocations: 97.97 kB / 1.076 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.3354, allocations: 25.7 kB / 1.076 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.454e-05/0.3354, allocations: 80.14 kB / 1.076 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.3355, allocations: 0 / 1.076 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.261e-05/0.3355, allocations: 9.719 kB / 1.076 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.3356, allocations: 314.8 kB / 1.076 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.517e-05/0.3356, allocations: 0 / 1.076 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.209e-05/0.3357, allocations: 11.92 kB / 1.076 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.204e-05/0.3358, allocations: 20.91 kB / 1.076 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3358, allocations: 0 / 1.076 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000121/0.3359, allocations: 41.69 kB / 1.076 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.3359, allocations: 4 kB / 1.076 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.336, allocations: 4 kB / 1.076 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.336, allocations: 3.938 kB / 1.076 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.477e-05/0.336, allocations: 3.984 kB / 1.076 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.3361, allocations: 8.031 kB / 1.076 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.487e-05/0.3361, allocations: 4 kB / 1.076 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.3361, allocations: 3.938 kB / 1.076 GB, free: 5.324 MB / 0.8262 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.489e-05/0.3362, allocations: 105.8 kB / 1.076 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.239e-05/0.3362, allocations: 7.906 kB / 1.076 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.712e-05/0.3362, allocations: 18.92 kB / 1.076 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.3362, allocations: 0 / 1.076 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.3362, allocations: 0 / 1.076 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3363, allocations: 7.984 kB / 1.076 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.947e-05/0.3363, allocations: 145.7 kB / 1.076 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3364, allocations: 0 / 1.076 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.392e-05/0.3364, allocations: 7.984 kB / 1.076 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3364, allocations: 0 / 1.076 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.3364, allocations: 3.938 kB / 1.076 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.3364, allocations: 4 kB / 1.076 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3364, allocations: 4 kB / 1.076 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000158/0.3366, allocations: 61.12 kB / 1.076 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.138e-05/0.3366, allocations: 77.11 kB / 1.076 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.3367, allocations: 7.922 kB / 1.076 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.362e-05/0.3367, allocations: 8 kB / 1.076 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.895e-06/0.3367, allocations: 0 / 1.076 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.3367, allocations: 0 / 1.076 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.243e-05/0.3368, allocations: 75.28 kB / 1.077 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3368, allocations: 3.938 kB / 1.077 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001801/0.3369, allocations: 8.031 kB / 1.077 GB, free: 4.691 MB / 0.8262 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.0001094/0.3371, allocations: 95.25 kB / 1.077 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001304/0.3372, allocations: 11.98 kB / 1.077 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3372, allocations: 0 / 1.077 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.729e-05/0.3373, allocations: 7.984 kB / 1.077 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001258/0.3374, allocations: 2.25 kB / 1.077 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002198/0.3376, allocations: 90.81 kB / 1.077 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.3379, allocations: 0.6731 MB / 1.077 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.461e-05/0.3379, allocations: 0 / 1.077 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.062e-05/0.3379, allocations: 7.438 kB / 1.077 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.3379, allocations: 4 kB / 1.077 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of Templates: time 0.001871/0.3398, allocations: 222.9 kB / 1.078 GB, free: 3.523 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)