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.001475/0.001475, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.001537/0.001537, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.332/1.332, allocations: 225.6 MB / 248.5 MB, free: 3.645 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.002306/0.002306, allocations: 281.2 kB / 303.6 MB, free: 3.688 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.01/1.01, allocations: 180.9 MB / 0.5268 GB, free: 2.707 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.002648/0.002648, allocations: 107.8 kB / 0.726 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.499/0.5016, allocations: 94.15 MB / 0.8179 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegStep): time 0.0015/0.5031, allocations: 0.5898 MB / 0.8185 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002635/0.5034, allocations: 50.36 kB / 0.8185 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.88e-05/0.5034, allocations: 0 / 0.8185 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.414e-05/0.5034, allocations: 0 / 0.8185 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.741e-06/0.5034, allocations: 0 / 0.8185 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002161/0.5036, allocations: 23.86 kB / 0.8186 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.027e-05/0.5037, allocations: 1.062 kB / 0.8186 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.452e-05/0.5037, allocations: 1.875 kB / 0.8186 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.15e-05/0.5037, allocations: 0.875 kB / 0.8186 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.061e-05/0.5037, allocations: 4.906 kB / 0.8186 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.766e-06/0.5038, allocations: 4 kB / 0.8186 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.614e-05/0.5038, allocations: 21.11 kB / 0.8186 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.596e-06/0.5039, allocations: 0 / 0.8186 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.632e-05/0.5039, allocations: 1.344 kB / 0.8186 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 7.886e-05/0.5039, allocations: 25.72 kB / 0.8186 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.504, allocations: 0 / 0.8186 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.723e-06/0.504, allocations: 0 / 0.8186 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.504, allocations: 1.312 kB / 0.8186 GB, free: 7.031 MB / 0.5762 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.0002016/0.5042, allocations: 306.2 kB / 0.8189 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.5042, allocations: 9.562 kB / 0.8189 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002296/0.5044, allocations: 24.28 kB / 0.8189 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.296e-05/0.5045, allocations: 165.4 kB / 0.8191 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.5045, allocations: 384 / 0.8191 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.5045, allocations: 1.75 kB / 0.8191 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.5046, allocations: 36.58 kB / 0.8191 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.5046, allocations: 1.188 kB / 0.8191 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.5046, allocations: 3.938 kB / 0.8191 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.5046, allocations: 4 kB / 0.8191 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.65e-05/0.5047, allocations: 12.11 kB / 0.8191 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.7e-05/0.5048, allocations: 147.4 kB / 0.8193 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.543e-05/0.5049, allocations: 25.69 kB / 0.8193 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.231e-05/0.5049, allocations: 15.77 kB / 0.8193 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.5049, allocations: 0 / 0.8193 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.275e-05/0.5049, allocations: 39.69 kB / 0.8194 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.5049, allocations: 0 / 0.8194 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001916/0.5051, allocations: 49.06 kB / 0.8194 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.687e-05/0.5051, allocations: 52.31 kB / 0.8195 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.341e-05/0.5052, allocations: 89.86 kB / 0.8195 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.921e-06/0.5052, allocations: 25.7 kB / 0.8196 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.055e-06/0.5052, allocations: 89.38 kB / 0.8197 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.5052, allocations: 3.953 kB / 0.8197 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.267e-05/0.5052, allocations: 20.38 kB / 0.8197 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.254e-05/0.5052, allocations: 310.8 kB / 0.82 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.125e-05/0.5053, allocations: 3.062 kB / 0.82 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.303e-05/0.5053, allocations: 7.859 kB / 0.82 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.092e-05/0.5054, allocations: 17.86 kB / 0.82 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5054, allocations: 1.125 kB / 0.82 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.778e-05/0.5055, allocations: 42.88 kB / 0.82 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.5055, allocations: 4.594 kB / 0.8201 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.5055, allocations: 8.109 kB / 0.8201 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.5055, allocations: 3.938 kB / 0.8201 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.151e-05/0.5056, allocations: 3.062 kB / 0.8201 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.5056, allocations: 4.875 kB / 0.8201 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.028e-05/0.5056, allocations: 4.906 kB / 0.8201 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.5056, allocations: 4.312 kB / 0.8201 GB, free: 5.445 MB / 0.5762 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 3.539e-05/0.5057, allocations: 106.8 kB / 0.8202 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.713e-06/0.5057, allocations: 0.8438 kB / 0.8202 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.496e-05/0.5057, allocations: 8 kB / 0.8202 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.5057, allocations: 3.984 kB / 0.8202 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.5057, allocations: 0.875 kB / 0.8202 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.5057, allocations: 0 / 0.8202 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.281e-05/0.5058, allocations: 150.3 kB / 0.8203 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.5058, allocations: 0.9375 kB / 0.8203 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.804e-05/0.5058, allocations: 2.75 kB / 0.8203 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.5058, allocations: 0 / 0.8203 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.5058, allocations: 5.703 kB / 0.8203 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.5058, allocations: 0 / 0.8203 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.5058, allocations: 0.8438 kB / 0.8203 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.5059, allocations: 70.36 kB / 0.8204 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.303e-05/0.5059, allocations: 78.11 kB / 0.8205 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.5059, allocations: 3.938 kB / 0.8205 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.903e-05/0.506, allocations: 10.47 kB / 0.8205 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.187e-06/0.506, allocations: 3.375 kB / 0.8205 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.506, allocations: 1.469 kB / 0.8205 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.157e-06/0.506, allocations: 75.28 kB / 0.8206 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5e-08/0.506, allocations: 3.938 kB / 0.8206 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001685/0.5061, allocations: 1.938 kB / 0.8206 GB, free: 4.875 MB / 0.5762 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 8.247e-05/0.5062, allocations: 105.1 kB / 0.8207 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001242/0.5064, allocations: 10.73 kB / 0.8207 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.5064, allocations: 0 / 0.8207 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.762e-05/0.5064, allocations: 7.391 kB / 0.8207 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000117/0.5065, allocations: 2.031 kB / 0.8207 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001972/0.5067, allocations: 118.1 kB / 0.8208 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.366e-05/0.5068, allocations: 0.6749 MB / 0.8215 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.165e-05/0.5068, allocations: 11.69 kB / 0.8215 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.5068, allocations: 0 / 0.8215 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of Templates: time 0.001534/0.5083, allocations: 389.2 kB / 0.8219 GB, free: 3.926 MB / 0.5762 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: 7.827554560004501] Failed to read output from testmodel.py, exit status != 0: 0.5149950979975984 0.524696726 0.018210585 Calling exit ...