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.001234/0.001234, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 195.7 kB / 16.53 MB, free: 6.391 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.467/1.467, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.919/2.919, allocations: 472.6 MB / 0.7451 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 65.75 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3208, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001863/0.3227, allocations: 0.5739 MB / 1.069 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002795/0.323, allocations: 59.72 kB / 1.069 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.512e-05/0.323, allocations: 0 / 1.069 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.09e-05/0.323, allocations: 0 / 1.069 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.09e-06/0.3231, allocations: 0 / 1.069 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002243/0.3233, allocations: 11.92 kB / 1.069 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.079e-05/0.3233, allocations: 11.98 kB / 1.069 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.103e-05/0.3234, allocations: 4 kB / 1.069 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.257e-05/0.3234, allocations: 0 / 1.069 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.288e-05/0.3234, allocations: 4 kB / 1.069 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.077e-06/0.3234, allocations: 0 / 1.069 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.374e-05/0.3235, allocations: 15.98 kB / 1.069 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.937e-06/0.3236, allocations: 0 / 1.069 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.387e-05/0.3236, allocations: 0 / 1.069 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.758e-05/0.3237, allocations: 19.97 kB / 1.069 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3237, allocations: 0 / 1.069 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3237, allocations: 0 / 1.069 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.3237, allocations: 0 / 1.069 GB, free: 9.715 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.0002795/0.324, allocations: 319.6 kB / 1.069 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.324, allocations: 11.97 kB / 1.069 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002651/0.3243, allocations: 24.89 kB / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.834e-05/0.3244, allocations: 164.4 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.3244, allocations: 384 / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.3244, allocations: 384 / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.3245, allocations: 46.19 kB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.974e-06/0.3246, allocations: 192 / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.3246, allocations: 3.938 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.3246, allocations: 0 / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.856e-05/0.3247, allocations: 11.98 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001221/0.3248, allocations: 141.7 kB / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.821e-05/0.3249, allocations: 22.59 kB / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.217e-05/0.325, allocations: 16.92 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.325, allocations: 3.984 kB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.325, allocations: 34.5 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.325, allocations: 3.938 kB / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0002268/0.3252, allocations: 45.62 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.3253, allocations: 51.53 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.265e-05/0.3253, allocations: 97.84 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.3253, allocations: 25.7 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.345e-05/0.3254, allocations: 84.14 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.3254, allocations: 0 / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-05/0.3254, allocations: 13.72 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.313e-05/0.3255, allocations: 310.8 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.909e-05/0.3256, allocations: 7.984 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.271e-05/0.3256, allocations: 8 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.879e-05/0.3257, allocations: 20.78 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3258, allocations: 0 / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001247/0.3259, allocations: 37.69 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.3259, allocations: 4 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.3259, allocations: 0 / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.3259, allocations: 7.938 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.343e-05/0.326, allocations: 12.08 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.326, allocations: 0 / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.617e-05/0.3261, allocations: 4 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.3261, allocations: 0 / 1.07 GB, free: 7.984 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.904e-05/0.3262, allocations: 109.8 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.087e-05/0.3262, allocations: 3.906 kB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.728e-05/0.3262, allocations: 11.05 kB / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.3262, allocations: 4 kB / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3262, allocations: 4 kB / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.3262, allocations: 0 / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.014e-05/0.3263, allocations: 141.7 kB / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3263, allocations: 0 / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.684e-05/0.3264, allocations: 11.92 kB / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3264, allocations: 0 / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.3264, allocations: 7.938 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3264, allocations: 0 / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3264, allocations: 0 / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001438/0.3265, allocations: 69.12 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.459e-05/0.3266, allocations: 85.08 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.3266, allocations: 3.938 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.374e-05/0.3267, allocations: 4 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.003e-05/0.3267, allocations: 0 / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.3267, allocations: 0 / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.898e-05/0.3267, allocations: 77.45 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3267, allocations: 7.969 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001901/0.3269, allocations: 0 / 1.071 GB, free: 7.359 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.0001298/0.327, allocations: 103.8 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001486/0.3272, allocations: 19.91 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3272, allocations: 0 / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.52e-05/0.3273, allocations: 4 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001299/0.3274, allocations: 9.75 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002464/0.3277, allocations: 89.47 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001947/0.3279, allocations: 0.6729 MB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.766e-05/0.3279, allocations: 3.984 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.394e-05/0.3279, allocations: 11.44 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.3279, allocations: 0 / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of Templates: time 0.001913/0.3299, allocations: 225.8 kB / 1.072 GB, free: 6.168 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)