Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.001371/0.001371, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001551/0.001551, allocations: 212 kB / 22.25 MB, free: 5.258 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.483/1.483, allocations: 230.6 MB / 256 MB, free: 7.785 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.002644/0.002644, allocations: 299.3 kB / 312.7 MB, free: 2.598 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.272/1.272, allocations: 180.6 MB / 0.5369 GB, free: 14.48 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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.003029/0.003029, allocations: 103.3 kB / 0.74 GB, free: 27.81 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2033, allocations: 95.37 MB / 0.8332 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001946/0.2052, allocations: 0.5959 MB / 0.8337 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007392/0.206, allocations: 295.4 kB / 0.834 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.466e-05/0.206, allocations: 0 / 0.834 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.193e-05/0.206, allocations: 0 / 0.834 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.42e-06/0.206, allocations: 0 / 0.834 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005347/0.2066, allocations: 111.7 kB / 0.8341 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 3.68e-05/0.2066, allocations: 0 / 0.8341 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.678e-05/0.2066, allocations: 7.984 kB / 0.8341 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.496e-05/0.2066, allocations: 4 kB / 0.8341 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.06e-05/0.2067, allocations: 0 / 0.8341 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.889e-06/0.2067, allocations: 0 / 0.8341 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004571/0.2071, allocations: 259.6 kB / 0.8344 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.2072, allocations: 0 / 0.8344 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.13e-05/0.2072, allocations: 3.938 kB / 0.8344 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.2074, allocations: 95.72 kB / 0.8345 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2074, allocations: 0 / 0.8345 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2074, allocations: 3.938 kB / 0.8345 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.2074, allocations: 0 / 0.8345 GB, free: 6.434 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.0003605/0.2078, allocations: 262.2 kB / 0.8347 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.2078, allocations: 9.344 kB / 0.8347 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.259e-05/0.2079, allocations: 0.9375 kB / 0.8347 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.786e-05/0.2079, allocations: 102.5 kB / 0.8348 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.208, allocations: 8.375 kB / 0.8349 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-06/0.208, allocations: 384 / 0.8349 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.476e-05/0.2081, allocations: 30.27 kB / 0.8349 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.2081, allocations: 4.125 kB / 0.8349 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.2081, allocations: 3.938 kB / 0.8349 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2081, allocations: 4 kB / 0.8349 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.966e-05/0.2081, allocations: 0 / 0.8349 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001284/0.2082, allocations: 97.31 kB / 0.835 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.45e-05/0.2083, allocations: 22.55 kB / 0.835 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.739e-05/0.2083, allocations: 8.859 kB / 0.835 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003782/0.2087, allocations: 44.03 kB / 0.8351 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.2087, allocations: 38.55 kB / 0.8351 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.2087, allocations: 0 / 0.8351 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001627/0.2089, allocations: 41.58 kB / 0.8351 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.2089, allocations: 51.41 kB / 0.8352 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.49e-05/0.209, allocations: 93.8 kB / 0.8353 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.209, allocations: 25.7 kB / 0.8353 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.101e-05/0.209, allocations: 80.14 kB / 0.8354 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.2091, allocations: 0 / 0.8354 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.955e-05/0.2091, allocations: 21.84 kB / 0.8354 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.2093, allocations: 310.8 kB / 0.8357 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.937e-06/0.2093, allocations: 0 / 0.8357 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.244e-05/0.2093, allocations: 7.984 kB / 0.8357 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.462e-05/0.2093, allocations: 4.859 kB / 0.8357 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2093, allocations: 0 / 0.8357 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.044e-05/0.2094, allocations: 41.64 kB / 0.8357 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.2094, allocations: 6.344 kB / 0.8357 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.2094, allocations: 0 / 0.8357 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.2094, allocations: 4.094 kB / 0.8358 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.615e-05/0.2095, allocations: 7.938 kB / 0.8358 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.2095, allocations: 0 / 0.8358 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.178e-06/0.2095, allocations: 0 / 0.8358 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.2095, allocations: 0 / 0.8358 GB, free: 4.957 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 8.263e-05/0.2096, allocations: 114.5 kB / 0.8359 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.139e-05/0.2096, allocations: 0 / 0.8359 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.224e-05/0.2097, allocations: 32.7 kB / 0.8359 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.2097, allocations: 3.938 kB / 0.8359 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.2097, allocations: 4.031 kB / 0.8359 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.2097, allocations: 4 kB / 0.8359 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.3e-05/0.2098, allocations: 101.3 kB / 0.836 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2098, allocations: 0 / 0.836 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.397e-05/0.2098, allocations: 3.938 kB / 0.836 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.2098, allocations: 4 kB / 0.836 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.2098, allocations: 0 / 0.836 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2098, allocations: 0 / 0.836 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.2098, allocations: 7.875 kB / 0.836 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.2099, allocations: 61.12 kB / 0.8361 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.646e-06/0.2099, allocations: 4.031 kB / 0.8361 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.438e-06/0.2099, allocations: 4 kB / 0.8361 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-06/0.21, allocations: 0 / 0.8361 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.484e-05/0.21, allocations: 7.938 kB / 0.8361 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/0.21, allocations: 3.938 kB / 0.8361 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.616e-05/0.21, allocations: 75.28 kB / 0.8362 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.21, allocations: 0 / 0.8362 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000201/0.2102, allocations: 11.94 kB / 0.8362 GB, free: 4.457 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 0.0001857/0.2104, allocations: 111.2 kB / 0.8363 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.834e-05/0.2105, allocations: 11.94 kB / 0.8363 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2105, allocations: 0 / 0.8363 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.726e-06/0.2105, allocations: 4 kB / 0.8363 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.2106, allocations: 0 / 0.8363 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002219/0.2108, allocations: 91.53 kB / 0.8364 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.852e-05/0.2109, allocations: 51.36 kB / 0.8364 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.629e-05/0.2109, allocations: 0 / 0.8364 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.621e-05/0.2109, allocations: 11.44 kB / 0.8365 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.2109, allocations: 0 / 0.8365 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of Templates: time 0.003064/0.214, allocations: 467.8 kB / 0.8369 GB, free: 3.672 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.117006273940206] Failed to read output from testmodel.py, exit status != 0: 0.22200655192136765 0.23939675200000002 0.028722934000000002 Calling exit ...