Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001021/0.001021, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.009103/0.009104, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.41/1.41, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.89/2.89, allocations: 473.4 MB / 0.7469 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003798/0.0003797, allocations: 15.25 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.3904, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.0009174/0.3913, allocations: 310.9 kB / 1.074 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003064/0.3917, allocations: 63.72 kB / 1.075 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.087e-05/0.3917, allocations: 0 / 1.075 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.45e-05/0.3917, allocations: 0 / 1.075 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.312e-06/0.3917, allocations: 0 / 1.075 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002223/0.392, allocations: 4 kB / 1.075 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.358e-05/0.392, allocations: 11.98 kB / 1.075 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.056e-05/0.3921, allocations: 0 / 1.075 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.472e-05/0.3921, allocations: 3.938 kB / 1.075 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.54e-05/0.3921, allocations: 7.984 kB / 1.075 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.417e-06/0.3922, allocations: 0 / 1.075 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.3923, allocations: 19.98 kB / 1.075 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.848e-06/0.3923, allocations: 0 / 1.075 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.427e-05/0.3923, allocations: 25.7 kB / 1.075 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.001e-05/0.3924, allocations: 19.97 kB / 1.075 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3925, allocations: 0 / 1.075 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3925, allocations: 0 / 1.075 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.237e-06/0.3925, allocations: 0 / 1.075 GB, free: 7.082 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.0002858/0.3928, allocations: 311.6 kB / 1.075 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.3928, allocations: 16.03 kB / 1.075 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002741/0.3931, allocations: 16.91 kB / 1.075 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.3932, allocations: 164.4 kB / 1.075 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.3932, allocations: 4.312 kB / 1.075 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.218e-06/0.3932, allocations: 384 / 1.075 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.3934, allocations: 34.25 kB / 1.075 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.3934, allocations: 4.188 kB / 1.075 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.3934, allocations: 7.938 kB / 1.075 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3934, allocations: 0 / 1.075 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.808e-05/0.3935, allocations: 7.984 kB / 1.075 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001469/0.3937, allocations: 145.7 kB / 1.075 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.919e-05/0.3938, allocations: 28.7 kB / 1.075 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.928e-05/0.3938, allocations: 8.922 kB / 1.075 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.3939, allocations: 4 kB / 1.075 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.3939, allocations: 38.56 kB / 1.075 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.3939, allocations: 0 / 1.075 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0002388/0.3941, allocations: 45.61 kB / 1.075 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.3942, allocations: 55.41 kB / 1.075 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.542e-05/0.3942, allocations: 89.86 kB / 1.076 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.3943, allocations: 25.83 kB / 1.076 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.489e-05/0.3943, allocations: 84.14 kB / 1.076 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.3943, allocations: 0 / 1.076 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.698e-05/0.3944, allocations: 9.719 kB / 1.076 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.3945, allocations: 322.8 kB / 1.076 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.508e-05/0.3945, allocations: 4 kB / 1.076 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.046e-05/0.3946, allocations: 7.984 kB / 1.076 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.3947, allocations: 20.91 kB / 1.076 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3947, allocations: 0 / 1.076 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001291/0.3948, allocations: 37.69 kB / 1.076 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.3949, allocations: 5.406 kB / 1.076 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3949, allocations: 0 / 1.076 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.3949, allocations: 7.875 kB / 1.076 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.811e-05/0.395, allocations: 7.984 kB / 1.076 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.395, allocations: 0 / 1.076 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.226e-05/0.395, allocations: 19.95 kB / 1.076 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.395, allocations: 7.938 kB / 1.076 GB, free: 5.348 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.974e-05/0.3951, allocations: 105.8 kB / 1.076 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.075e-05/0.3951, allocations: 7.906 kB / 1.076 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.16e-05/0.3952, allocations: 7.062 kB / 1.076 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.3952, allocations: 4 kB / 1.076 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.3952, allocations: 0 / 1.076 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3952, allocations: 0 / 1.076 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.785e-05/0.3953, allocations: 153.7 kB / 1.076 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3953, allocations: 0 / 1.076 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.126e-05/0.3954, allocations: 4 kB / 1.076 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3954, allocations: 0 / 1.076 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.3954, allocations: 3.938 kB / 1.076 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.3954, allocations: 3.984 kB / 1.076 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3954, allocations: 0 / 1.076 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.3956, allocations: 69.12 kB / 1.076 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.124e-05/0.3956, allocations: 77.11 kB / 1.076 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.3956, allocations: 3.938 kB / 1.076 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.509e-05/0.3957, allocations: 7.984 kB / 1.077 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.398e-06/0.3957, allocations: 3.938 kB / 1.077 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.3957, allocations: 0 / 1.077 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.857e-05/0.3957, allocations: 75.28 kB / 1.077 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3957, allocations: 0 / 1.077 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001749/0.3959, allocations: 0 / 1.077 GB, free: 4.734 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.0001282/0.3961, allocations: 103.3 kB / 1.077 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001397/0.3962, allocations: 11.98 kB / 1.077 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3962, allocations: 0 / 1.077 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.769e-05/0.3963, allocations: 7.984 kB / 1.077 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/0.3964, allocations: 4.281 kB / 1.077 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000263/0.3967, allocations: 86.81 kB / 1.077 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.3969, allocations: 0.6692 MB / 1.077 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.035e-05/0.397, allocations: 7.938 kB / 1.077 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.487e-05/0.397, allocations: 7.438 kB / 1.077 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.397, allocations: 0 / 1.077 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of Templates: time 0.002019/0.399, allocations: 217.2 kB / 1.078 GB, free: 3.562 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)