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.00119/0.00119, 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.00123/0.00123, allocations: 191.6 kB / 16.13 MB, free: 6.66 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.438/1.438, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.818/2.818, allocations: 472.6 MB / 0.7447 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 69.88 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3204, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001929/0.3223, allocations: 0.6425 MB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003128/0.3227, allocations: 63.67 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.909e-06/0.3227, allocations: 0 / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.821e-05/0.3227, allocations: 0 / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.452e-06/0.3227, allocations: 4 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.323, allocations: 7.984 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.009e-05/0.323, allocations: 0 / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.944e-05/0.3231, allocations: 4 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.335e-05/0.3231, allocations: 0 / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.512e-05/0.3231, allocations: 4 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.3231, allocations: 0 / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.3232, allocations: 23.97 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.092e-05/0.3233, allocations: 3.984 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.108e-05/0.3233, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.101e-05/0.3234, allocations: 15.98 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3234, allocations: 4 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.012e-06/0.3234, allocations: 0 / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.3234, allocations: 0 / 1.068 GB, free: 10.1 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.0002835/0.3237, allocations: 319.5 kB / 1.069 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.3237, allocations: 8.031 kB / 1.069 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002588/0.324, allocations: 16.91 kB / 1.069 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.134e-05/0.3241, allocations: 164.3 kB / 1.069 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-06/0.3241, allocations: 4.375 kB / 1.069 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.3241, allocations: 4.375 kB / 1.069 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.3243, allocations: 36.42 kB / 1.069 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.3243, allocations: 192 / 1.069 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.3243, allocations: 3.938 kB / 1.069 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.3243, allocations: 0 / 1.069 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.404e-05/0.3244, allocations: 7.984 kB / 1.069 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001983/0.3246, allocations: 157.7 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.158e-05/0.3247, allocations: 26.53 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.154e-05/0.3247, allocations: 8.844 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.3248, allocations: 4.062 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.3248, allocations: 30.56 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 9.51e-07/0.3248, allocations: 0 / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0002367/0.325, allocations: 57.61 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.3251, allocations: 51.41 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.128e-05/0.3251, allocations: 89.86 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.3251, allocations: 25.7 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.566e-05/0.3252, allocations: 80.14 kB / 1.069 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.3252, allocations: 0 / 1.069 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.3252, allocations: 21.66 kB / 1.069 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.3254, allocations: 319 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.921e-05/0.3254, allocations: 11.92 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.641e-05/0.3255, allocations: 0 / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.977e-05/0.3256, allocations: 16.84 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3256, allocations: 0 / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001226/0.3257, allocations: 45.75 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.3257, allocations: 7.984 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.3257, allocations: 0 / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.3257, allocations: 3.938 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.927e-05/0.3258, allocations: 4 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.3258, allocations: 3.938 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.68e-05/0.3259, allocations: 0 / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.3259, allocations: 3.938 kB / 1.07 GB, free: 8.375 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 7.257e-05/0.326, allocations: 117.8 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.027e-06/0.326, allocations: 7.938 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.03e-05/0.326, allocations: 7.062 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.326, allocations: 4 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.326, allocations: 0 / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.326, allocations: 0 / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.939e-05/0.3261, allocations: 149.7 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3261, allocations: 0 / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.082e-05/0.3262, allocations: 0 / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3262, allocations: 4 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.3262, allocations: 7.938 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.3262, allocations: 0 / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3262, allocations: 0 / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.3264, allocations: 65.11 kB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.751e-05/0.3264, allocations: 81.11 kB / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.3264, allocations: 3.938 kB / 1.07 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.122e-05/0.3265, allocations: 3.938 kB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.412e-05/0.3265, allocations: 4.031 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.3265, allocations: 0 / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.638e-05/0.3265, allocations: 79.28 kB / 1.07 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3265, allocations: 0 / 1.07 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001771/0.3267, allocations: 0 / 1.07 GB, free: 7.754 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.0001281/0.3269, allocations: 99.23 kB / 1.07 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000134/0.327, allocations: 15.98 kB / 1.07 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.327, allocations: 0 / 1.07 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.508e-05/0.3271, allocations: 8 kB / 1.07 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.3272, allocations: 7.234 kB / 1.07 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002256/0.3274, allocations: 82.69 kB / 1.07 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.3277, allocations: 0.677 MB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.095e-05/0.3278, allocations: 12.06 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.527e-05/0.3278, allocations: 7.438 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.3278, allocations: 0 / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of Templates: time 0.002036/0.3299, allocations: 222.4 kB / 1.071 GB, free: 6.57 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)