Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001015/0.001015, allocations: 112 kB / 16.42 MB, free: 6.512 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.001005/0.001005, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.228/1.228, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002073/0.002073, allocations: 283.6 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8943/0.8943, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 95.86 kB / 0.6822 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3663, allocations: 86.98 MB / 0.7671 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegStep): time 0.001503/0.3678, allocations: 0.5785 MB / 0.7677 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002198/0.3681, allocations: 47.78 kB / 0.7677 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.112e-05/0.3681, allocations: 4 kB / 0.7677 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.183e-05/0.3681, allocations: 0 / 0.7677 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.079e-06/0.3682, allocations: 0 / 0.7677 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002013/0.3684, allocations: 19.91 kB / 0.7677 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.314e-05/0.3684, allocations: 0 / 0.7677 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.887e-05/0.3684, allocations: 0 / 0.7677 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.122e-05/0.3685, allocations: 8 kB / 0.7677 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.751e-05/0.3685, allocations: 0 / 0.7677 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.065e-06/0.3685, allocations: 0 / 0.7677 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.57e-05/0.3686, allocations: 23.98 kB / 0.7678 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.005e-06/0.3686, allocations: 3.938 kB / 0.7678 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.325e-05/0.3686, allocations: 0 / 0.7678 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 7.058e-05/0.3687, allocations: 15.95 kB / 0.7678 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3687, allocations: 4 kB / 0.7678 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3687, allocations: 0 / 0.7678 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.3687, allocations: 0 / 0.7678 GB, free: 3.223 MB / 0.5294 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.0002418/0.369, allocations: 323.5 kB / 0.7681 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.369, allocations: 8.031 kB / 0.7681 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002272/0.3692, allocations: 20.89 kB / 0.7681 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.132e-05/0.3693, allocations: 160.4 kB / 0.7683 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.3694, allocations: 384 / 0.7683 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.3694, allocations: 384 / 0.7683 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.3695, allocations: 34.25 kB / 0.7683 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3695, allocations: 4.188 kB / 0.7683 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.3695, allocations: 7.938 kB / 0.7683 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.3695, allocations: 0 / 0.7683 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.455e-05/0.3696, allocations: 11.92 kB / 0.7683 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001235/0.3698, allocations: 149.7 kB / 0.7685 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.679e-05/0.3698, allocations: 22.59 kB / 0.7685 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.23e-05/0.3699, allocations: 16.91 kB / 0.7685 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.3699, allocations: 0 / 0.7685 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.37, allocations: 34.56 kB / 0.7685 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.37, allocations: 0 / 0.7685 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0002201/0.3702, allocations: 49.56 kB / 0.7686 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.3702, allocations: 55.41 kB / 0.7686 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.103e-05/0.3703, allocations: 97.97 kB / 0.7687 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.3703, allocations: 29.64 kB / 0.7688 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.35e-05/0.3703, allocations: 80.14 kB / 0.7688 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.3703, allocations: 7.562 kB / 0.7689 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/0.3704, allocations: 9.719 kB / 0.7689 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.744e-05/0.3705, allocations: 318.8 kB / 0.7692 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.56e-05/0.3705, allocations: 3.984 kB / 0.7692 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.675e-05/0.3706, allocations: 4 kB / 0.7692 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.183e-05/0.3707, allocations: 20.91 kB / 0.7692 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3707, allocations: 0 / 0.7692 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001173/0.3708, allocations: 41.62 kB / 0.7692 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.3708, allocations: 8 kB / 0.7692 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.3708, allocations: 0 / 0.7692 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.3708, allocations: 3.938 kB / 0.7692 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.499e-05/0.3709, allocations: 4.016 kB / 0.7692 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.848e-06/0.3709, allocations: 8 kB / 0.7693 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.233e-05/0.371, allocations: 0 / 0.7693 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.371, allocations: 0 / 0.7693 GB, free: 1.496 MB / 0.5294 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.597e-05/0.371, allocations: 112.2 kB / 0.7694 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.574e-06/0.3711, allocations: 4 kB / 0.7694 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.605e-05/0.3711, allocations: 7.109 kB / 0.7694 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.3711, allocations: 3.938 kB / 0.7694 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3711, allocations: 0 / 0.7694 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.801e-05/0.3711, allocations: 85.05 kB / 0.7695 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.918e-06/0.3711, allocations: 0 / 0.7695 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.634e-05/0.3712, allocations: 4 kB / 0.7695 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.857e-06/0.3712, allocations: 0 / 0.7695 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001642/0.3714, allocations: 120.9 kB / 0.7696 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000172/0.3716, allocations: 218.8 kB / 0.7698 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.733e-05/0.3716, allocations: 7.984 kB / 0.7698 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.087e-05/0.3716, allocations: 75.28 kB / 0.7699 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of Backend: time 2.71e-07/0.3716, allocations: 0 / 0.7699 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003727/0.372, allocations: 90.33 kB / 0.77 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of SimCode: time 0.0002908/0.3723, allocations: 0.5294 MB / 0.7705 GB, free: 152 kB / 0.5294 GB Notification: Performance of Templates: time 0.002078/0.3744, allocations: 448.5 kB / 0.7709 GB, free: 15.71 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)