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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0024/0.0024, allocations: 283.7 kB / 304.8 MB, free: 3.551 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.058/1.058, allocations: 180.9 MB / 0.5282 GB, free: 1.887 MB / 382.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002746/0.002746, allocations: 99.84 kB / 0.7284 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4941/0.4969, allocations: 94.16 MB / 0.8203 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegStep): time 0.001888/0.4988, allocations: 0.5911 MB / 0.8209 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002753/0.4991, allocations: 46.5 kB / 0.8209 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.612e-05/0.4991, allocations: 0 / 0.8209 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.774e-05/0.4991, allocations: 1.312 kB / 0.821 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.06e-06/0.4991, allocations: 4 kB / 0.821 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.4993, allocations: 19.98 kB / 0.821 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.039e-05/0.4994, allocations: 5.422 kB / 0.821 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.154e-05/0.4994, allocations: 1.125 kB / 0.821 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.248e-05/0.4994, allocations: 1.531 kB / 0.821 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.015e-05/0.4994, allocations: 1.562 kB / 0.821 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.646e-06/0.4994, allocations: 0 / 0.821 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.4995, allocations: 25.22 kB / 0.821 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.578e-06/0.4996, allocations: 1.062 kB / 0.821 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.488e-05/0.4996, allocations: 1.094 kB / 0.821 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 8.917e-05/0.4997, allocations: 25.36 kB / 0.821 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4997, allocations: 0 / 0.821 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.252e-06/0.4997, allocations: 1.219 kB / 0.821 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.4997, allocations: 0 / 0.821 GB, free: 4.355 MB / 0.5606 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.0003935/0.5001, allocations: 313.4 kB / 0.8213 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.5001, allocations: 16.78 kB / 0.8213 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002738/0.5004, allocations: 18.75 kB / 0.8214 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.5005, allocations: 160.4 kB / 0.8215 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.5005, allocations: 4.375 kB / 0.8215 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.5005, allocations: 5.375 kB / 0.8215 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.5007, allocations: 34.69 kB / 0.8216 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.5007, allocations: 192 / 0.8216 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.5007, allocations: 3.938 kB / 0.8216 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.5007, allocations: 1.062 kB / 0.8216 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.767e-05/0.5008, allocations: 9.453 kB / 0.8216 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001656/0.501, allocations: 154.5 kB / 0.8217 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.214e-05/0.5011, allocations: 23.05 kB / 0.8217 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.496e-05/0.5011, allocations: 15.25 kB / 0.8218 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.5011, allocations: 1.562 kB / 0.8218 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.5012, allocations: 30.56 kB / 0.8218 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.5012, allocations: 1.188 kB / 0.8218 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.000236/0.5014, allocations: 52.48 kB / 0.8218 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.5014, allocations: 55.34 kB / 0.8219 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.086e-05/0.5015, allocations: 93.8 kB / 0.822 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.5015, allocations: 26.77 kB / 0.822 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.01e-05/0.5015, allocations: 80.14 kB / 0.8221 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.5016, allocations: 9.109 kB / 0.8221 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.5016, allocations: 10.84 kB / 0.8221 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.5018, allocations: 316.2 kB / 0.8224 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.182e-05/0.5018, allocations: 7.203 kB / 0.8224 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.754e-05/0.5018, allocations: 3.219 kB / 0.8224 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.874e-05/0.5019, allocations: 14.72 kB / 0.8224 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.5019, allocations: 1.031 kB / 0.8224 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001226/0.5021, allocations: 46.59 kB / 0.8225 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.5021, allocations: 7.938 kB / 0.8225 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.5021, allocations: 7.922 kB / 0.8225 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.5021, allocations: 4.906 kB / 0.8225 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.999e-05/0.5022, allocations: 6.281 kB / 0.8225 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.5022, allocations: 1.062 kB / 0.8225 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.331e-05/0.5022, allocations: 1.031 kB / 0.8225 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.5022, allocations: 0.9688 kB / 0.8225 GB, free: 2.719 MB / 0.5606 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.233e-05/0.5023, allocations: 115.5 kB / 0.8226 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.893e-06/0.5023, allocations: 0 / 0.8226 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.154e-05/0.5023, allocations: 7.844 kB / 0.8226 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.5023, allocations: 0 / 0.8226 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.5023, allocations: 1.094 kB / 0.8226 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-06/0.5023, allocations: 0 / 0.8226 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.5024, allocations: 146.7 kB / 0.8228 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.5024, allocations: 4.953 kB / 0.8228 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.267e-05/0.5025, allocations: 2.375 kB / 0.8228 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.5025, allocations: 1.125 kB / 0.8228 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.5025, allocations: 7.938 kB / 0.8228 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.5025, allocations: 1.094 kB / 0.8228 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.5025, allocations: 0 / 0.8228 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.5027, allocations: 71.14 kB / 0.8228 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.53e-05/0.5027, allocations: 78.33 kB / 0.8229 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.5027, allocations: 3.938 kB / 0.8229 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.283e-05/0.5028, allocations: 5.219 kB / 0.8229 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.337e-05/0.5028, allocations: 1.125 kB / 0.8229 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.5028, allocations: 4.969 kB / 0.8229 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.487e-05/0.5028, allocations: 79.28 kB / 0.823 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.5028, allocations: 0 / 0.823 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001771/0.503, allocations: 1 kB / 0.823 GB, free: 2.129 MB / 0.5606 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.0001367/0.5031, allocations: 109 kB / 0.8231 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001464/0.5033, allocations: 15.8 kB / 0.8231 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5033, allocations: 1.031 kB / 0.8231 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.196e-05/0.5033, allocations: 3.719 kB / 0.8231 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/0.5034, allocations: 1.219 kB / 0.8231 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002894/0.5037, allocations: 104.8 kB / 0.8232 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.5041, allocations: 0.674 MB / 0.8239 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.297e-05/0.5041, allocations: 5.219 kB / 0.8239 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.599e-05/0.5041, allocations: 8.469 kB / 0.8239 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of SimCode: time 4.1e-07/0.5041, allocations: 0 / 0.8239 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of Templates: time 0.002448/0.5066, allocations: 238.6 kB / 0.8241 GB, free: 1.074 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.150538398884237]