Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008427/0.008428, allocations: 106.3 kB / 15.74 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 196.5 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.648/1.648, allocations: 205.1 MB / 222.5 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.601/1.601, allocations: 251.7 MB / 0.5094 GB, free: 3.012 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 63.91 kB / 0.7258 GB, free: 9.039 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2813, allocations: 104.7 MB / 0.828 GB, free: 224 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.006373/0.2877, allocations: 4.071 MB / 0.832 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003885/0.2917, allocations: 1.59 MB / 0.8336 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003201/0.292, allocations: 11.94 kB / 0.8336 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00206/0.2942, allocations: 0.5915 MB / 0.8341 GB, free: 9.922 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0008049/0.295, allocations: 234.8 kB / 0.8344 GB, free: 9.691 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007276/0.2957, allocations: 215.2 kB / 0.8346 GB, free: 9.484 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007845/0.2965, allocations: 0.5491 MB / 0.8351 GB, free: 8.934 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007863/0.2973, allocations: 465.8 kB / 0.8355 GB, free: 8.477 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002939/0.2976, allocations: 239.3 kB / 0.8358 GB, free: 8.242 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004619/0.2981, allocations: 247.1 kB / 0.836 GB, free: 8 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.499e-05/0.2981, allocations: 36 kB / 0.836 GB, free: 7.965 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004155/0.2986, allocations: 163.7 kB / 0.8362 GB, free: 7.805 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001528/0.2987, allocations: 151.6 kB / 0.8363 GB, free: 7.656 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002039/0.2989, allocations: 195.1 kB / 0.8365 GB, free: 7.465 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006181/0.2996, allocations: 0.5257 MB / 0.837 GB, free: 6.938 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.2996, allocations: 0 / 0.837 GB, free: 6.938 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.452e-06/0.2996, allocations: 0 / 0.837 GB, free: 6.938 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.2996, allocations: 4 kB / 0.8371 GB, free: 6.934 MB / 0.6544 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.001393/0.301, allocations: 0.6786 MB / 0.8377 GB, free: 6.207 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.3011, allocations: 8.031 kB / 0.8377 GB, free: 6.199 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000722/0.3018, allocations: 108.4 kB / 0.8378 GB, free: 6.094 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004414/0.3022, allocations: 311.5 kB / 0.8381 GB, free: 5.75 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.129e-05/0.3023, allocations: 51.27 kB / 0.8382 GB, free: 5.695 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.46e-05/0.3024, allocations: 36.38 kB / 0.8382 GB, free: 5.66 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008228/0.3032, allocations: 0.5126 MB / 0.8387 GB, free: 5.125 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.3032, allocations: 0 / 0.8387 GB, free: 5.125 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.064e-05/0.3033, allocations: 12 kB / 0.8387 GB, free: 5.113 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.848e-05/0.3034, allocations: 32.98 kB / 0.8387 GB, free: 5.082 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006979/0.3041, allocations: 387.6 kB / 0.8391 GB, free: 4.703 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003067/0.3072, allocations: 2.2 MB / 0.8413 GB, free: 2.273 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009681/0.3081, allocations: 258.6 kB / 0.8415 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004915/0.3087, allocations: 156.7 kB / 0.8417 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.865e-05/0.3087, allocations: 0 / 0.8417 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.603e-05/0.3088, allocations: 38.56 kB / 0.8417 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=19): time 1.503e-06/0.3088, allocations: 0 / 0.8417 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19): time 0.002006/0.3108, allocations: 0.5661 MB / 0.8423 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.3109, allocations: 55.41 kB / 0.8423 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003101/0.3112, allocations: 228.9 kB / 0.8425 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.3112, allocations: 29.7 kB / 0.8426 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.3114, allocations: 203.7 kB / 0.8427 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.529e-05/0.3115, allocations: 71.03 kB / 0.8428 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/0.3117, allocations: 53.61 kB / 0.8429 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.3119, allocations: 330.8 kB / 0.8432 GB, free: 204 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002907/0.3122, allocations: 96.8 kB / 0.8433 GB, free: 104 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003785/0.3126, allocations: 191.5 kB / 0.8435 GB, free: 15.88 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006452/0.3132, allocations: 269.2 kB / 0.8437 GB, free: 15.58 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3132, allocations: 0 / 0.8437 GB, free: 15.58 MB / 0.67 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001214/0.3145, allocations: 377.2 kB / 0.8441 GB, free: 15.2 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.3145, allocations: 4 kB / 0.8441 GB, free: 15.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.3145, allocations: 4.312 kB / 0.8441 GB, free: 15.19 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007255/0.3153, allocations: 125.5 kB / 0.8442 GB, free: 15.06 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002761/0.3156, allocations: 43.97 kB / 0.8442 GB, free: 15.02 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004401/0.32, allocations: 3.043 MB / 0.8472 GB, free: 11.69 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003321/0.3203, allocations: 39.67 kB / 0.8473 GB, free: 11.65 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.052e-05/0.3204, allocations: 11.94 kB / 0.8473 GB, free: 11.64 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004413/0.3208, allocations: 220 kB / 0.8475 GB, free: 11.42 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003574/0.3212, allocations: 184.6 kB / 0.8476 GB, free: 11.2 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000633/0.3218, allocations: 269.2 kB / 0.8479 GB, free: 10.9 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.782e-06/0.3218, allocations: 4 kB / 0.8479 GB, free: 10.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.001032/0.3229, allocations: 353.1 kB / 0.8482 GB, free: 10.55 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.3229, allocations: 10.75 kB / 0.8483 GB, free: 10.54 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3229, allocations: 4 kB / 0.8483 GB, free: 10.54 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003808/0.3233, allocations: 84.84 kB / 0.8483 GB, free: 10.45 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/0.3236, allocations: 55.91 kB / 0.8484 GB, free: 10.39 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002859/0.3265, allocations: 1.61 MB / 0.85 GB, free: 8.648 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003487/0.3269, allocations: 31.77 kB / 0.85 GB, free: 8.617 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-05/0.3269, allocations: 19.92 kB / 0.85 GB, free: 8.598 MB / 0.67 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.0002481/0.3272, allocations: 188.9 kB / 0.8502 GB, free: 8.406 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.852e-05/0.3273, allocations: 23.72 kB / 0.8502 GB, free: 8.383 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.315e-05/0.3274, allocations: 34.11 kB / 0.8503 GB, free: 8.344 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.3274, allocations: 4 kB / 0.8503 GB, free: 8.34 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3274, allocations: 0 / 0.8503 GB, free: 8.34 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.3274, allocations: 3.938 kB / 0.8503 GB, free: 8.336 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00224/0.3297, allocations: 0.8251 MB / 0.8511 GB, free: 7.43 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.3297, allocations: 4 kB / 0.8511 GB, free: 7.426 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.3299, allocations: 23.98 kB / 0.8511 GB, free: 7.402 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004446/0.3303, allocations: 105.7 kB / 0.8512 GB, free: 7.293 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.3304, allocations: 4 kB / 0.8512 GB, free: 7.289 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004125/0.3345, allocations: 3.023 MB / 0.8541 GB, free: 3.992 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3345, allocations: 0 / 0.8541 GB, free: 3.992 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.3356, allocations: 415 kB / 0.8545 GB, free: 3.559 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001954/0.3358, allocations: 124.7 kB / 0.8547 GB, free: 3.418 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.384e-05/0.3358, allocations: 4 kB / 0.8547 GB, free: 3.414 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/0.3361, allocations: 8 kB / 0.8547 GB, free: 3.406 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.3362, allocations: 19.97 kB / 0.8547 GB, free: 3.387 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-05/0.3363, allocations: 12 kB / 0.8547 GB, free: 3.375 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0003563/0.3366, allocations: 164.4 kB / 0.8549 GB, free: 3.219 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.976e-06/0.3366, allocations: 0 / 0.8549 GB, free: 3.219 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001073/0.3377, allocations: 175.3 kB / 0.855 GB, free: 3.047 MB / 0.67 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.0001759/0.3379, allocations: 99.25 kB / 0.8551 GB, free: 2.941 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002648/0.3406, allocations: 0.761 MB / 0.8559 GB, free: 2.145 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.3406, allocations: 0 / 0.8559 GB, free: 2.145 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009408/0.3415, allocations: 381.1 kB / 0.8562 GB, free: 1.746 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000649/0.3422, allocations: 58.28 kB / 0.8563 GB, free: 1.691 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.3439, allocations: 0.5638 MB / 0.8568 GB, free: 1.09 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006976/0.3446, allocations: 0.8107 MB / 0.8576 GB, free: 256 kB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002885/0.3449, allocations: 62.23 kB / 0.8577 GB, free: 192 kB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.868e-05/0.345, allocations: 27.42 kB / 0.8577 GB, free: 168 kB / 0.67 GB Notification: Performance of SimCode: time 1.122e-06/0.345, allocations: 0 / 0.8577 GB, free: 168 kB / 0.67 GB Notification: Performance of Templates: time 0.01326/0.3583, allocations: 4.734 MB / 0.8623 GB, free: 11.46 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)