Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.001729/0.001729, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001888/0.001888, allocations: 186 kB / 20.78 MB, free: 1.547 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.558/1.558, allocations: 225.6 MB / 249.4 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.85/2.85, allocations: 443.5 MB / 0.7304 GB, free: 13.91 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|error|sen_nlin.I|sen_lin.I|sen_nlin.V|sen_lin.V|sen_nlin.P|sen_lin.P",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|error|sen_nlin.I|sen_lin.I|sen_nlin.V|sen_lin.V|sen_nlin.P|sen_lin.P",fileNamePrefix="Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 63.89 kB / 1.059 GB, free: 388 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3634, allocations: 160.7 MB / 1.216 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.006705/0.3701, allocations: 4.26 MB / 1.22 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002894/0.373, allocations: 1.64 MB / 1.222 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001723/0.3732, allocations: 8 kB / 1.222 GB, free: 9.402 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001943/0.3751, allocations: 0.6071 MB / 1.222 GB, free: 8.793 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0006372/0.3758, allocations: 234.9 kB / 1.223 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005683/0.3763, allocations: 219.4 kB / 1.223 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006565/0.377, allocations: 0.5414 MB / 1.223 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006258/0.3776, allocations: 329.8 kB / 1.224 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002966/0.3779, allocations: 231.3 kB / 1.224 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004886/0.3784, allocations: 271 kB / 1.224 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001441/0.3785, allocations: 36 kB / 1.224 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003256/0.3789, allocations: 167.7 kB / 1.224 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001602/0.379, allocations: 163.5 kB / 1.225 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000206/0.3792, allocations: 191.1 kB / 1.225 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006427/0.3799, allocations: 0.5292 MB / 1.225 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.3799, allocations: 0 / 1.225 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3799, allocations: 0 / 1.225 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.253e-06/0.3799, allocations: 0 / 1.225 GB, free: 5.914 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.00128/0.3812, allocations: 0.6937 MB / 1.226 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.3812, allocations: 8.031 kB / 1.226 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007554/0.382, allocations: 104.6 kB / 1.226 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000543/0.3825, allocations: 299.8 kB / 1.226 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/0.3826, allocations: 67.25 kB / 1.226 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.798e-05/0.3827, allocations: 28.38 kB / 1.226 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009215/0.3836, allocations: 0.5048 MB / 1.227 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.3836, allocations: 0 / 1.227 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.092e-05/0.3836, allocations: 20 kB / 1.227 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.533e-05/0.3837, allocations: 36.97 kB / 1.227 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007133/0.3844, allocations: 371.7 kB / 1.227 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002837/0.3872, allocations: 2.212 MB / 1.229 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006929/0.3879, allocations: 246.6 kB / 1.23 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003582/0.3883, allocations: 132.8 kB / 1.23 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.3883, allocations: 8 kB / 1.23 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.3884, allocations: 34.56 kB / 1.23 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=19): time 1.723e-06/0.3884, allocations: 4 kB / 1.23 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of matching and sorting (n=19): time 0.001633/0.39, allocations: 0.5694 MB / 1.23 GB, free: 192 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.39, allocations: 55.41 kB / 1.231 GB, free: 124 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002635/0.3903, allocations: 225 kB / 1.231 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.3903, allocations: 33.7 kB / 1.231 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002055/0.3905, allocations: 212.2 kB / 1.231 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.561e-05/0.3906, allocations: 75.36 kB / 1.231 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.689e-05/0.3907, allocations: 53.66 kB / 1.231 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.3909, allocations: 326.8 kB / 1.231 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002446/0.3911, allocations: 104.8 kB / 1.231 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002969/0.3914, allocations: 184.5 kB / 1.232 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005021/0.3919, allocations: 271.3 kB / 1.232 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3919, allocations: 0 / 1.232 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000898/0.3928, allocations: 374.9 kB / 1.232 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.3928, allocations: 11.98 kB / 1.232 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.3929, allocations: 3.938 kB / 1.232 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005207/0.3934, allocations: 109.7 kB / 1.232 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.3936, allocations: 51.91 kB / 1.232 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003676/0.3973, allocations: 3.037 MB / 1.235 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002647/0.3975, allocations: 43.89 kB / 1.235 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.3976, allocations: 8 kB / 1.235 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003696/0.3979, allocations: 228 kB / 1.236 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002778/0.3982, allocations: 175.6 kB / 1.236 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000488/0.3987, allocations: 271.8 kB / 1.236 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.402e-06/0.3987, allocations: 3.938 kB / 1.236 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0008132/0.3995, allocations: 351.5 kB / 1.236 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.3995, allocations: 11.94 kB / 1.236 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.786e-06/0.3995, allocations: 0 / 1.236 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000325/0.3999, allocations: 85.03 kB / 1.237 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.4001, allocations: 59.91 kB / 1.237 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00221/0.4023, allocations: 1.619 MB / 1.238 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002667/0.4026, allocations: 31.94 kB / 1.238 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.4026, allocations: 15.94 kB / 1.238 GB, free: 7.578 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001491/0.4027, allocations: 192.1 kB / 1.238 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.684e-05/0.4028, allocations: 27.86 kB / 1.238 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.364e-05/0.4029, allocations: 26.17 kB / 1.238 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.4029, allocations: 4 kB / 1.238 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.4029, allocations: 0 / 1.238 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.4029, allocations: 3.938 kB / 1.238 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001599/0.4045, allocations: 0.8213 MB / 1.239 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.4045, allocations: 4.062 kB / 1.239 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.4046, allocations: 27.98 kB / 1.239 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003966/0.405, allocations: 113.7 kB / 1.239 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.405, allocations: 4 kB / 1.239 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003323/0.4084, allocations: 3.024 MB / 1.242 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4084, allocations: 144 / 1.242 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008118/0.4092, allocations: 419.1 kB / 1.243 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.4093, allocations: 120.9 kB / 1.243 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.4093, allocations: 4 kB / 1.243 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.4095, allocations: 11.98 kB / 1.243 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.869e-05/0.4096, allocations: 19.92 kB / 1.243 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.4096, allocations: 4 kB / 1.243 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001631/0.4098, allocations: 168.5 kB / 1.243 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4098, allocations: 0 / 1.243 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006341/0.4104, allocations: 175.5 kB / 1.243 GB, free: 2.012 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001394/0.4105, allocations: 99.25 kB / 1.243 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001905/0.4125, allocations: 0.7482 MB / 1.244 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4125, allocations: 0 / 1.244 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007912/0.4132, allocations: 367.8 kB / 1.244 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004509/0.4137, allocations: 57.77 kB / 1.244 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.4148, allocations: 0.5942 MB / 1.245 GB, free: 52 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005221/0.4153, allocations: 0.8145 MB / 1.246 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001815/0.4155, allocations: 58.17 kB / 1.246 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.838e-05/0.4156, allocations: 19.44 kB / 1.246 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of SimCode: time 5.61e-07/0.4156, allocations: 0 / 1.246 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of Templates: time 0.01077/0.4264, allocations: 4.876 MB / 1.251 GB, free: 10.29 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 9.606724677607417]