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.001216/0.001216, allocations: 108 kB / 15.61 MB, free: 152 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.001241/0.001241, allocations: 194.1 kB / 16.53 MB, free: 6.699 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.349/1.349, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.738/2.738, allocations: 472.6 MB / 0.7451 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 66.62 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3233, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001999/0.3253, allocations: 0.5894 MB / 1.069 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003027/0.3256, allocations: 51.73 kB / 1.069 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.027e-05/0.3257, allocations: 0 / 1.069 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.255e-05/0.3257, allocations: 0 / 1.069 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.981e-06/0.3257, allocations: 4 kB / 1.069 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.3259, allocations: 11.98 kB / 1.069 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.25e-05/0.326, allocations: 0 / 1.069 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.951e-05/0.326, allocations: 0 / 1.069 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.584e-05/0.3261, allocations: 8 kB / 1.069 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.91e-05/0.3261, allocations: 3.984 kB / 1.069 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.3261, allocations: 3.938 kB / 1.069 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.3262, allocations: 19.97 kB / 1.069 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.095e-05/0.3262, allocations: 4 kB / 1.069 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.019e-05/0.3263, allocations: 4 kB / 1.069 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.773e-05/0.3264, allocations: 7.984 kB / 1.069 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3264, allocations: 0 / 1.069 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3264, allocations: 3.938 kB / 1.069 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.3264, allocations: 4 kB / 1.069 GB, free: 9.734 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.0003757/0.3268, allocations: 329.2 kB / 1.069 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.3268, allocations: 12.06 kB / 1.069 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002672/0.3271, allocations: 16.91 kB / 1.069 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.3272, allocations: 160.4 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.3272, allocations: 384 / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-06/0.3272, allocations: 384 / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.3274, allocations: 38.23 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.3274, allocations: 8.188 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.3274, allocations: 7.938 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.3274, allocations: 0 / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.024e-05/0.3275, allocations: 11.92 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001673/0.3277, allocations: 145.7 kB / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.031e-05/0.3278, allocations: 22.59 kB / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.548e-05/0.3278, allocations: 12.92 kB / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.3279, allocations: 0 / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.3279, allocations: 34.56 kB / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.293e-06/0.3279, allocations: 0 / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0002557/0.3282, allocations: 53.55 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.3283, allocations: 55.41 kB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.734e-05/0.3283, allocations: 93.98 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.3284, allocations: 25.7 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.661e-05/0.3284, allocations: 80.14 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.3284, allocations: 0 / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.458e-05/0.3285, allocations: 13.72 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3287, allocations: 314.8 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.641e-05/0.3287, allocations: 0 / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.457e-05/0.3288, allocations: 11.98 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.606e-05/0.3289, allocations: 16.86 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3289, allocations: 0 / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001286/0.329, allocations: 45.61 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.329, allocations: 8 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.329, allocations: 0 / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.3291, allocations: 3.938 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.572e-05/0.3291, allocations: 8.094 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.3292, allocations: 0 / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.727e-05/0.3292, allocations: 7.922 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.3292, allocations: 0 / 1.07 GB, free: 8.004 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 8.346e-05/0.3293, allocations: 109.8 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.488e-06/0.3293, allocations: 3.906 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.059e-05/0.3293, allocations: 7.062 kB / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3294, allocations: 3.938 kB / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3294, allocations: 4 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3294, allocations: 0 / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.3295, allocations: 149.7 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.3295, allocations: 7.984 kB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.123e-05/0.3296, allocations: 0 / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.3296, allocations: 0 / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.3296, allocations: 3.938 kB / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3296, allocations: 4 kB / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3296, allocations: 3.984 kB / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.3298, allocations: 69.06 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.3299, allocations: 77.11 kB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.3299, allocations: 7.938 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.77e-05/0.3299, allocations: 7.984 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.221e-05/0.33, allocations: 0 / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-06/0.33, allocations: 0 / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.841e-05/0.33, allocations: 77.45 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.6e-07/0.33, allocations: 4.031 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001812/0.3302, allocations: 4 kB / 1.071 GB, free: 7.375 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.0001287/0.3303, allocations: 95.78 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001491/0.3305, allocations: 11.98 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.3305, allocations: 0 / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.46e-05/0.3306, allocations: 11.92 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.3307, allocations: 4.406 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002472/0.331, allocations: 96.91 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.3313, allocations: 0.669 MB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.328e-05/0.3313, allocations: 0 / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.431e-05/0.3313, allocations: 7.438 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of SimCode: time 3.91e-07/0.3314, allocations: 8 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of Templates: time 0.001905/0.3333, allocations: 225.6 kB / 1.072 GB, free: 6.191 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)