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.001608/0.001608, allocations: 106.6 kB / 18.32 MB, free: 3.973 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.001782/0.001782, allocations: 190 kB / 21.5 MB, free: 0.8125 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.48/1.48, allocations: 225.6 MB / 250.1 MB, free: 3.172 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.002546/0.002546, allocations: 287.7 kB / 305.5 MB, free: 3.5 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.091/1.091, allocations: 180.9 MB / 0.5289 GB, free: 1.949 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.002884/0.002884, allocations: 107.8 kB / 0.7291 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5171/0.52, allocations: 94.16 MB / 0.821 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegStep): time 0.001662/0.5217, allocations: 0.5903 MB / 0.8216 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002453/0.5219, allocations: 50.94 kB / 0.8217 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.53e-05/0.5219, allocations: 1.031 kB / 0.8217 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.107e-05/0.5219, allocations: 0 / 0.8217 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.5e-06/0.5219, allocations: 0 / 0.8217 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002375/0.5222, allocations: 20.36 kB / 0.8217 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.464e-05/0.5222, allocations: 11.05 kB / 0.8217 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.241e-05/0.5223, allocations: 0 / 0.8217 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.211e-05/0.5223, allocations: 5.156 kB / 0.8217 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 1.991e-05/0.5223, allocations: 1.281 kB / 0.8217 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.614e-06/0.5223, allocations: 0 / 0.8217 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.476e-05/0.5224, allocations: 22.59 kB / 0.8217 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.426e-06/0.5224, allocations: 3.938 kB / 0.8217 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.755e-05/0.5224, allocations: 0 / 0.8217 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 7.881e-05/0.5225, allocations: 22.33 kB / 0.8218 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.5225, allocations: 0 / 0.8218 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.022e-06/0.5225, allocations: 1.156 kB / 0.8218 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.5225, allocations: 0 / 0.8218 GB, free: 4.176 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.0003181/0.5228, allocations: 315.6 kB / 0.8221 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.5229, allocations: 8.281 kB / 0.8221 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002603/0.5231, allocations: 22.31 kB / 0.8221 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.5232, allocations: 160.4 kB / 0.8222 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.5232, allocations: 1.312 kB / 0.8222 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.053e-06/0.5232, allocations: 1.281 kB / 0.8222 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.5234, allocations: 33.81 kB / 0.8223 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.5234, allocations: 5.375 kB / 0.8223 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.5234, allocations: 7.875 kB / 0.8223 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.5234, allocations: 0 / 0.8223 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.506e-05/0.5235, allocations: 9.891 kB / 0.8223 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001577/0.5236, allocations: 150.5 kB / 0.8224 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.691e-05/0.5237, allocations: 22.7 kB / 0.8225 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.429e-05/0.5238, allocations: 16.09 kB / 0.8225 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.5238, allocations: 0 / 0.8225 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.5238, allocations: 31.53 kB / 0.8225 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.5238, allocations: 0 / 0.8225 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0002349/0.524, allocations: 53.48 kB / 0.8226 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.5241, allocations: 51.41 kB / 0.8226 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.636e-05/0.5241, allocations: 93.98 kB / 0.8227 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.5242, allocations: 35.05 kB / 0.8227 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.649e-05/0.5242, allocations: 80.14 kB / 0.8228 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.5242, allocations: 3.953 kB / 0.8228 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/0.5243, allocations: 12.22 kB / 0.8228 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.5244, allocations: 311.8 kB / 0.8231 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.869e-05/0.5244, allocations: 6.172 kB / 0.8231 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.567e-05/0.5245, allocations: 3.5 kB / 0.8231 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.028e-05/0.5246, allocations: 23.59 kB / 0.8231 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.5246, allocations: 0 / 0.8231 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001253/0.5247, allocations: 46.95 kB / 0.8232 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.5247, allocations: 9.625 kB / 0.8232 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.5247, allocations: 0 / 0.8232 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.5247, allocations: 5.062 kB / 0.8232 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.789e-05/0.5248, allocations: 6.438 kB / 0.8232 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.5248, allocations: 1.219 kB / 0.8232 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.555e-05/0.5248, allocations: 5.234 kB / 0.8232 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.5248, allocations: 0 / 0.8232 GB, free: 2.543 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 7.602e-05/0.5249, allocations: 108.2 kB / 0.8233 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.735e-06/0.5249, allocations: 0 / 0.8233 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.654e-05/0.5249, allocations: 7.062 kB / 0.8233 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.5249, allocations: 1.25 kB / 0.8233 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.5249, allocations: 0 / 0.8233 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.5249, allocations: 5.188 kB / 0.8233 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.5251, allocations: 149.7 kB / 0.8235 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.5251, allocations: 1.219 kB / 0.8235 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.327e-05/0.5251, allocations: 2.156 kB / 0.8235 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.5251, allocations: 5.25 kB / 0.8235 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.5251, allocations: 7.875 kB / 0.8235 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.5251, allocations: 1.094 kB / 0.8235 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.5251, allocations: 0 / 0.8235 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.5253, allocations: 67.48 kB / 0.8236 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.967e-05/0.5253, allocations: 77.11 kB / 0.8236 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.5253, allocations: 5.156 kB / 0.8236 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.265e-05/0.5253, allocations: 1.281 kB / 0.8236 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.603e-05/0.5254, allocations: 9.266 kB / 0.8236 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.5254, allocations: 3.984 kB / 0.8237 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.516e-05/0.5254, allocations: 83.22 kB / 0.8237 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.5254, allocations: 5.219 kB / 0.8237 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001871/0.5256, allocations: 1.219 kB / 0.8237 GB, free: 1.945 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.0001225/0.5257, allocations: 96.88 kB / 0.8238 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001442/0.5259, allocations: 15.33 kB / 0.8238 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5259, allocations: 0 / 0.8238 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.438e-05/0.5259, allocations: 9.109 kB / 0.8239 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001255/0.526, allocations: 4.625 kB / 0.8239 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002613/0.5263, allocations: 101.2 kB / 0.824 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.5266, allocations: 0.6701 MB / 0.8246 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.033e-05/0.5266, allocations: 1.125 kB / 0.8246 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.483e-05/0.5266, allocations: 8.562 kB / 0.8246 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of SimCode: time 4.31e-07/0.5266, allocations: 4 kB / 0.8246 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of Templates: time 0.002108/0.5287, allocations: 236.3 kB / 0.8248 GB, free: 0.9023 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.333481782996387]