Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 110.5 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 215.3 kB / 23.01 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.359/1.359, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002462/0.002462, allocations: 288.9 kB / 313.5 MB, free: 2.836 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.195/1.195, allocations: 180.6 MB / 0.5377 GB, free: 12.95 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower") translateModel(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002893/0.002893, allocations: 104 kB / 0.7408 GB, free: 28.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1922, allocations: 95.39 MB / 0.834 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.002777/0.195, allocations: 1.474 MB / 0.8354 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000784/0.1958, allocations: 397.2 kB / 0.8358 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.567e-05/0.1958, allocations: 0 / 0.8358 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.881e-05/0.1958, allocations: 0 / 0.8358 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.382e-05/0.1959, allocations: 3.938 kB / 0.8358 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004226/0.1963, allocations: 111.7 kB / 0.8359 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.144e-05/0.1964, allocations: 27.92 kB / 0.8359 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.859e-05/0.1965, allocations: 11.97 kB / 0.8359 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.018e-05/0.1965, allocations: 11.88 kB / 0.8359 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.333e-05/0.1966, allocations: 15.92 kB / 0.836 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.1966, allocations: 4 kB / 0.836 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004105/0.197, allocations: 275.7 kB / 0.8362 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.196e-05/0.197, allocations: 4 kB / 0.8362 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.792e-05/0.197, allocations: 15.92 kB / 0.8362 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.1972, allocations: 107.6 kB / 0.8363 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1972, allocations: 4 kB / 0.8363 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.472e-06/0.1972, allocations: 0 / 0.8363 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.1972, allocations: 0 / 0.8363 GB, free: 5.715 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000519/0.1978, allocations: 297.9 kB / 0.8366 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1978, allocations: 9.938 kB / 0.8366 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.476e-05/0.1978, allocations: 4.938 kB / 0.8366 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.198, allocations: 114.5 kB / 0.8368 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.743e-06/0.198, allocations: 384 / 0.8368 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.198, allocations: 384 / 0.8368 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.1982, allocations: 54.23 kB / 0.8368 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.1982, allocations: 4.188 kB / 0.8368 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.1982, allocations: 3.938 kB / 0.8368 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.1982, allocations: 0 / 0.8368 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001635/0.1984, allocations: 35.95 kB / 0.8368 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003363/0.1987, allocations: 220 kB / 0.8371 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.1988, allocations: 50.48 kB / 0.8371 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.819e-05/0.1989, allocations: 16.91 kB / 0.8371 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005061/0.1994, allocations: 75.92 kB / 0.8372 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.1995, allocations: 42.48 kB / 0.8372 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1995, allocations: 0 / 0.8372 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003718/0.1998, allocations: 85.67 kB / 0.8373 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.1999, allocations: 59.42 kB / 0.8374 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.175e-05/0.2, allocations: 101.9 kB / 0.8375 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.2, allocations: 25.7 kB / 0.8375 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.283e-05/0.2, allocations: 88.12 kB / 0.8376 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.887e-05/0.2001, allocations: 11.89 kB / 0.8376 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/0.2001, allocations: 9.719 kB / 0.8376 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001892/0.2003, allocations: 318.8 kB / 0.8379 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.923e-05/0.2003, allocations: 15.98 kB / 0.8379 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.825e-05/0.2004, allocations: 19.97 kB / 0.8379 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.2006, allocations: 36.83 kB / 0.838 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2006, allocations: 0 / 0.838 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002031/0.2008, allocations: 81.55 kB / 0.8381 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.2008, allocations: 8 kB / 0.8381 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.2008, allocations: 0 / 0.8381 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.2008, allocations: 3.938 kB / 0.8381 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.023e-05/0.2009, allocations: 7.984 kB / 0.8381 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.2009, allocations: 0 / 0.8381 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.31e-05/0.2009, allocations: 4 kB / 0.8381 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.2009, allocations: 4 kB / 0.8381 GB, free: 3.754 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 (2): * Single equations (assignments): 2 * 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.889e-05/0.201, allocations: 118.5 kB / 0.8382 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.615e-05/0.2011, allocations: 3.984 kB / 0.8382 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002232/0.2013, allocations: 77.22 kB / 0.8383 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2013, allocations: 0 / 0.8383 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2013, allocations: 0 / 0.8383 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2013, allocations: 4 kB / 0.8383 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.2015, allocations: 132.7 kB / 0.8384 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.2015, allocations: 0 / 0.8384 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.611e-05/0.2015, allocations: 12.03 kB / 0.8384 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2015, allocations: 0 / 0.8384 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.2015, allocations: 0 / 0.8384 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2015, allocations: 256 / 0.8384 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.2015, allocations: 3.984 kB / 0.8384 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002577/0.2018, allocations: 163.5 kB / 0.8386 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.426e-05/0.2018, allocations: 19.91 kB / 0.8386 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.2018, allocations: 0 / 0.8386 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.276e-05/0.2019, allocations: 4 kB / 0.8386 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.2019, allocations: 7.922 kB / 0.8386 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.2019, allocations: 0 / 0.8386 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.019e-05/0.202, allocations: 87.28 kB / 0.8387 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.202, allocations: 0 / 0.8387 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002349/0.2022, allocations: 12 kB / 0.8387 GB, free: 3.043 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 (2): * Single equations (assignments): 2 * 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.000164/0.2024, allocations: 115.2 kB / 0.8388 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002267/0.2026, allocations: 39.97 kB / 0.8388 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2026, allocations: 0 / 0.8388 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.162e-05/0.2027, allocations: 19.97 kB / 0.8389 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.203, allocations: 13.95 kB / 0.8389 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003273/0.2033, allocations: 143.4 kB / 0.839 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.2037, allocations: 0.6768 MB / 0.8397 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.978e-05/0.2037, allocations: 7.438 kB / 0.8397 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.2037, allocations: 0 / 0.8397 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of Templates: time 0.002441/0.2062, allocations: 0.708 MB / 0.8404 GB, free: 1.266 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.9401695870328695] Failed to read output from testmodel.py, exit status != 0: 0.2141705669928342 0.229900541 0.029454236 Calling exit ...