Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.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.001643/0.001643, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002047/0.002047, allocations: 211.2 kB / 22.24 MB, free: 5.262 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.49/1.49, allocations: 230.6 MB / 256 MB, free: 7.812 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.002625/0.002625, allocations: 287.3 kB / 312.7 MB, free: 2.645 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.307/1.307, allocations: 180.6 MB / 0.5369 GB, free: 14.49 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.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized") [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.002969/0.002969, allocations: 106.6 kB / 0.74 GB, free: 28.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2033, allocations: 95.37 MB / 0.8332 GB, free: 7.828 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002024/0.2053, allocations: 0.5959 MB / 0.8337 GB, free: 7.23 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0003716/0.2057, allocations: 92.14 kB / 0.8338 GB, free: 7.141 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.042e-05/0.2057, allocations: 0 / 0.8338 GB, free: 7.141 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 1.844e-05/0.2057, allocations: 0 / 0.8338 GB, free: 7.141 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 4.775e-05/0.2058, allocations: 0 / 0.8338 GB, free: 7.141 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.2061, allocations: 27.92 kB / 0.8339 GB, free: 7.113 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 5.78e-05/0.2061, allocations: 4 kB / 0.8339 GB, free: 7.109 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 6.611e-05/0.2062, allocations: 7.969 kB / 0.8339 GB, free: 7.102 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 2.333e-05/0.2062, allocations: 3.938 kB / 0.8339 GB, free: 7.098 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 7.49e-05/0.2063, allocations: 4 kB / 0.8339 GB, free: 7.094 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.2063, allocations: 0 / 0.8339 GB, free: 7.094 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 7.498e-05/0.2064, allocations: 15.98 kB / 0.8339 GB, free: 7.078 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 1.305e-05/0.2064, allocations: 0 / 0.8339 GB, free: 7.078 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 2.079e-05/0.2064, allocations: 0 / 0.8339 GB, free: 7.078 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.2065, allocations: 23.91 kB / 0.8339 GB, free: 7.055 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.2065, allocations: 4 kB / 0.8339 GB, free: 7.051 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2065, allocations: 0 / 0.8339 GB, free: 7.051 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.2065, allocations: 0 / 0.8339 GB, free: 7.051 MB / 0.5763 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.0004056/0.2069, allocations: 254.4 kB / 0.8342 GB, free: 6.77 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.207, allocations: 9.938 kB / 0.8342 GB, free: 6.762 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001795/0.2072, allocations: 8.922 kB / 0.8342 GB, free: 6.754 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.64e-05/0.2073, allocations: 106.5 kB / 0.8343 GB, free: 6.625 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.2073, allocations: 4.312 kB / 0.8343 GB, free: 6.621 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.2073, allocations: 4.359 kB / 0.8343 GB, free: 6.617 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.2074, allocations: 50.23 kB / 0.8343 GB, free: 6.562 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.2075, allocations: 192 / 0.8343 GB, free: 6.562 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.2075, allocations: 3.938 kB / 0.8343 GB, free: 6.559 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.2075, allocations: 0 / 0.8343 GB, free: 6.559 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.454e-05/0.2076, allocations: 11.98 kB / 0.8344 GB, free: 6.547 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001479/0.2077, allocations: 101.3 kB / 0.8345 GB, free: 6.418 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.2079, allocations: 46.53 kB / 0.8345 GB, free: 6.363 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.056e-05/0.208, allocations: 12.92 kB / 0.8345 GB, free: 6.348 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.208, allocations: 4 kB / 0.8345 GB, free: 6.344 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.208, allocations: 34.56 kB / 0.8345 GB, free: 6.301 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.208, allocations: 0 / 0.8345 GB, free: 6.301 MB / 0.5763 GB Notification: Performance of matching and sorting (n=3): time 0.0002409/0.2083, allocations: 53.61 kB / 0.8346 GB, free: 6.242 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.2083, allocations: 55.41 kB / 0.8347 GB, free: 6.176 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.085e-05/0.2084, allocations: 93.8 kB / 0.8347 GB, free: 6.074 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.2084, allocations: 25.7 kB / 0.8348 GB, free: 6.043 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 4.294e-05/0.2084, allocations: 80.14 kB / 0.8348 GB, free: 5.961 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 3.775e-05/0.2085, allocations: 11.89 kB / 0.8349 GB, free: 5.949 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.662e-05/0.2085, allocations: 17.7 kB / 0.8349 GB, free: 5.926 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.2086, allocations: 314.8 kB / 0.8352 GB, free: 5.609 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.335e-05/0.2087, allocations: 11.94 kB / 0.8352 GB, free: 5.598 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.294e-05/0.2087, allocations: 7.984 kB / 0.8352 GB, free: 5.59 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.966e-05/0.2088, allocations: 24.84 kB / 0.8352 GB, free: 5.562 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2088, allocations: 0 / 0.8352 GB, free: 5.562 MB / 0.5763 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001209/0.2089, allocations: 49.64 kB / 0.8353 GB, free: 5.508 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.2089, allocations: 6.5 kB / 0.8353 GB, free: 5.504 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.2089, allocations: 0 / 0.8353 GB, free: 5.504 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.209, allocations: 4 kB / 0.8353 GB, free: 5.5 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004015/0.2094, allocations: 51.8 kB / 0.8353 GB, free: 5.449 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/0.2108, allocations: 1.278 MB / 0.8366 GB, free: 4.066 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.116e-05/0.2109, allocations: 3.953 kB / 0.8366 GB, free: 4.062 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.2109, allocations: 4.031 kB / 0.8366 GB, free: 4.059 MB / 0.5763 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.504e-05/0.211, allocations: 118.4 kB / 0.8367 GB, free: 3.934 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.098e-05/0.211, allocations: 8.109 kB / 0.8367 GB, free: 3.926 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.504e-05/0.211, allocations: 3.531 kB / 0.8367 GB, free: 3.922 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.211, allocations: 4 kB / 0.8367 GB, free: 3.918 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.211, allocations: 0 / 0.8367 GB, free: 3.918 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.211, allocations: 0 / 0.8367 GB, free: 3.918 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.362e-05/0.2111, allocations: 101.3 kB / 0.8368 GB, free: 3.789 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.2111, allocations: 3.938 kB / 0.8368 GB, free: 3.785 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003667/0.2115, allocations: 51.92 kB / 0.8369 GB, free: 3.734 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.2115, allocations: 0 / 0.8369 GB, free: 3.734 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.2115, allocations: 0 / 0.8369 GB, free: 3.734 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001275/0.2128, allocations: 1.278 MB / 0.8381 GB, free: 2.355 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2128, allocations: 4.031 kB / 0.8381 GB, free: 2.352 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.2129, allocations: 73.05 kB / 0.8382 GB, free: 2.262 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 4.047e-06/0.2129, allocations: 0 / 0.8382 GB, free: 2.262 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.312e-06/0.2129, allocations: 4 kB / 0.8382 GB, free: 2.258 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.856e-05/0.2129, allocations: 4 kB / 0.8382 GB, free: 2.254 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.323e-05/0.2129, allocations: 3.984 kB / 0.8382 GB, free: 2.25 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.213, allocations: 12.09 kB / 0.8382 GB, free: 2.238 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 3.716e-05/0.213, allocations: 79.22 kB / 0.8383 GB, free: 2.16 MB / 0.5763 GB Notification: Performance of sort global known variables: time 6e-08/0.213, allocations: 0 / 0.8383 GB, free: 2.16 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002534/0.2132, allocations: 4 kB / 0.8383 GB, free: 2.156 MB / 0.5763 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001279/0.2134, allocations: 95.19 kB / 0.8384 GB, free: 2.051 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0004737/0.2139, allocations: 71.88 kB / 0.8384 GB, free: 1.98 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/0.2139, allocations: 7.938 kB / 0.8384 GB, free: 1.973 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0002458/0.2141, allocations: 31.95 kB / 0.8385 GB, free: 1.941 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.2143, allocations: 10.58 kB / 0.8385 GB, free: 1.934 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003797/0.2146, allocations: 85.05 kB / 0.8386 GB, free: 1.824 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.828e-05/0.2147, allocations: 63.3 kB / 0.8386 GB, free: 1.742 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 4.412e-05/0.2148, allocations: 3.984 kB / 0.8386 GB, free: 1.738 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.167e-05/0.2148, allocations: 15.38 kB / 0.8386 GB, free: 1.723 MB / 0.5763 GB Notification: Performance of SimCode: time 5.11e-07/0.2148, allocations: 0 / 0.8386 GB, free: 1.723 MB / 0.5763 GB Notification: Performance of Templates: time 0.002906/0.2177, allocations: 451.9 kB / 0.8391 GB, free: 1.285 MB / 0.5763 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.20368198864162] Failed to read output from testmodel.py, exit status != 0: 0.22604632005095482 0.243297018 0.033260385 Calling exit ...