Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.0007279/0.0007279, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009932/0.001721, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007103/0.0007103, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00102/0.001731, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.001/1.001, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07939/1.081, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.001387/0.001387, allocations: 244.1 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009133/0.0023, allocations: 463.5 kB / 244.7 MB, free: 14.18 MB / 250.7 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 0.7104/0.7104, allocations: 138.7 MB / 384.1 MB, free: 480 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06916/0.7795, allocations: 42.39 MB / 426.5 MB, free: 5.953 MB / 410.7 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.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.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized") translateModel(BuildingSystems.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 427.8 MB, free: 4.625 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.847e-05/2.002e-05, allocations: 6.312 kB / 427.8 MB, free: 4.617 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.PowerLinearized): time 0.002956/0.002976, allocations: 1.549 MB / 429.3 MB, free: 3.055 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001868/0.003163, allocations: 88.53 kB / 429.4 MB, free: 2.965 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.833e-05/0.003192, allocations: 0 / 429.4 MB, free: 2.965 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.162e-05/0.003213, allocations: 4 kB / 429.4 MB, free: 2.961 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.85e-05/0.003242, allocations: 3.938 kB / 429.4 MB, free: 2.957 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.848e-05/0.00334, allocations: 23.95 kB / 429.5 MB, free: 2.934 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.613e-05/0.003406, allocations: 23.88 kB / 429.5 MB, free: 2.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.254e-05/0.003479, allocations: 8 kB / 429.5 MB, free: 2.902 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.648e-05/0.003555, allocations: 15.98 kB / 429.5 MB, free: 2.887 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.204e-05/0.003597, allocations: 11.98 kB / 429.5 MB, free: 2.875 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.003612, allocations: 0 / 429.5 MB, free: 2.875 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.322e-05/0.003695, allocations: 15.98 kB / 429.5 MB, free: 2.859 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.21e-05/0.003708, allocations: 3.938 kB / 429.5 MB, free: 2.855 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.826e-05/0.003726, allocations: 4 kB / 429.5 MB, free: 2.852 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.003842, allocations: 39.78 kB / 429.6 MB, free: 2.812 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.685e-05/0.003859, allocations: 3.984 kB / 429.6 MB, free: 2.809 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.003859, allocations: 0 / 429.6 MB, free: 2.809 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.878e-05/0.003878, allocations: 0 / 429.6 MB, free: 2.809 MB / 410.7 MB 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.0003991/0.004277, allocations: 240.6 kB / 429.8 MB, free: 2.547 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.004313, allocations: 15.98 kB / 429.8 MB, free: 2.531 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002217/0.004535, allocations: 94.03 kB / 429.9 MB, free: 2.422 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.004643, allocations: 109.8 kB / 430 MB, free: 2.289 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.004659, allocations: 384 / 430 MB, free: 2.289 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.805e-06/0.004667, allocations: 384 / 430 MB, free: 2.289 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.004796, allocations: 58.94 kB / 430.1 MB, free: 2.223 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.004804, allocations: 192 / 430.1 MB, free: 2.223 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.004813, allocations: 4.375 kB / 430.1 MB, free: 2.219 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.00482, allocations: 4.359 kB / 430.1 MB, free: 2.215 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.828e-05/0.004858, allocations: 19.86 kB / 430.1 MB, free: 2.195 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002519/0.00511, allocations: 148.3 kB / 430.3 MB, free: 2.035 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.647e-05/0.005176, allocations: 22.58 kB / 430.3 MB, free: 2.004 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.625e-05/0.005193, allocations: 4.859 kB / 430.3 MB, free: 1.996 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.005207, allocations: 4.062 kB / 430.3 MB, free: 1.992 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.005229, allocations: 30.56 kB / 430.3 MB, free: 1.953 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.005231, allocations: 0 / 430.3 MB, free: 1.953 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001302/0.005361, allocations: 45.67 kB / 430.4 MB, free: 1.902 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.005398, allocations: 55.47 kB / 430.4 MB, free: 1.836 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.413e-05/0.005462, allocations: 114.7 kB / 430.5 MB, free: 1.711 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.005474, allocations: 25.7 kB / 430.6 MB, free: 1.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.293e-05/0.005507, allocations: 84.14 kB / 430.6 MB, free: 1.594 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.005526, allocations: 7.891 kB / 430.7 MB, free: 1.586 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.005566, allocations: 17.7 kB / 430.7 MB, free: 1.562 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.885e-05/0.005665, allocations: 314.8 kB / 431 MB, free: 1.246 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.832e-05/0.005683, allocations: 4 kB / 431 MB, free: 1.242 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.203e-05/0.005695, allocations: 4 kB / 431 MB, free: 1.238 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.296e-05/0.005728, allocations: 12.8 kB / 431 MB, free: 1.223 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.00573, allocations: 4.062 kB / 431 MB, free: 1.219 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.003e-05/0.0058, allocations: 41.62 kB / 431 MB, free: 1.172 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.005816, allocations: 8 kB / 431.1 MB, free: 1.164 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.005821, allocations: 0 / 431.1 MB, free: 1.164 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.596e-06/0.005829, allocations: 0 / 431.1 MB, free: 1.164 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.996e-05/0.005919, allocations: 11.92 kB / 431.1 MB, free: 1.152 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.005923, allocations: 4 kB / 431.1 MB, free: 1.148 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.877e-05/0.005952, allocations: 0 / 431.1 MB, free: 1.148 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.005958, allocations: 4 kB / 431.1 MB, free: 1.145 MB / 410.7 MB 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 5.913e-05/0.006017, allocations: 109.9 kB / 431.2 MB, free: 1.027 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.00604, allocations: 3.984 kB / 431.2 MB, free: 1.023 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.785e-05/0.006068, allocations: 11.62 kB / 431.2 MB, free: 1.016 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.00607, allocations: 0 / 431.2 MB, free: 1.016 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.006073, allocations: 3.938 kB / 431.2 MB, free: 1.012 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.006075, allocations: 3.938 kB / 431.2 MB, free: 1.008 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.006197, allocations: 73.88 kB / 431.3 MB, free: 0.918 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.006199, allocations: 256 / 431.3 MB, free: 0.918 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.006e-05/0.006249, allocations: 8 kB / 431.3 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.304e-05/0.006262, allocations: 11.95 kB / 431.3 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.006265, allocations: 0 / 431.3 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-06/0.00627, allocations: 4 kB / 431.3 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.006271, allocations: 0 / 431.3 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.006275, allocations: 7.922 kB / 431.3 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/0.006378, allocations: 123.6 kB / 431.4 MB, free: 0.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.006389, allocations: 4 kB / 431.4 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.539e-05/0.006454, allocations: 3.984 kB / 431.4 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.194e-05/0.006486, allocations: 4 kB / 431.4 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.00649, allocations: 0 / 431.4 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.428e-05/0.006515, allocations: 20.78 kB / 431.5 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.006515, allocations: 0 / 431.5 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001913/0.006706, allocations: 11.97 kB / 431.5 MB, free: 0.7031 MB / 410.7 MB 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 8.598e-05/0.006792, allocations: 76.42 kB / 431.5 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.929e-05/0.006861, allocations: 12.86 kB / 431.6 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.006868, allocations: 4 kB / 431.6 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.075e-05/0.006888, allocations: 8.859 kB / 431.6 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.007073, allocations: 7.984 kB / 431.6 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004309/0.007503, allocations: 131.8 kB / 431.7 MB, free: 436 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.678e-05/0.00754, allocations: 55.34 kB / 431.8 MB, free: 360 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.675e-05/0.007567, allocations: 3.938 kB / 431.8 MB, free: 356 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.326e-05/0.00762, allocations: 51.38 kB / 431.8 MB, free: 304 kB / 410.7 MB Notification: Performance of SimCode: time 7.22e-07/0.007621, allocations: 0 / 431.8 MB, free: 304 kB / 410.7 MB Notification: Performance of Templates: time 0.1605/0.1681, allocations: 0.661 MB / 432.5 MB, free: 2.793 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4099444337189198]