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.01544/0.01544, allocations: 96.91 kB / 15.73 MB, free: 6.484 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.002863/0.002863, allocations: 191.7 kB / 16.67 MB, free: 6.391 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.633/1.633, allocations: 205.1 MB / 222.6 MB, free: 4.543 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.956/1.956, allocations: 251.7 MB / 0.5094 GB, free: 3.055 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.00145/0.00145, allocations: 67.91 kB / 0.7258 GB, free: 9.098 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2255, allocations: 104.7 MB / 0.828 GB, free: 296 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005605/0.2311, allocations: 4.068 MB / 0.832 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002376/0.2335, allocations: 1.594 MB / 0.8336 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.2337, allocations: 15.94 kB / 0.8336 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001514/0.2353, allocations: 0.5721 MB / 0.8341 GB, free: 10 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004659/0.2357, allocations: 238.8 kB / 0.8344 GB, free: 9.77 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004953/0.2362, allocations: 215.5 kB / 0.8346 GB, free: 9.559 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005578/0.2368, allocations: 0.5452 MB / 0.8351 GB, free: 9.012 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007819/0.2376, allocations: 481.7 kB / 0.8356 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002934/0.2379, allocations: 223.3 kB / 0.8358 GB, free: 8.32 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004053/0.2383, allocations: 247.1 kB / 0.836 GB, free: 8.078 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.103e-05/0.2384, allocations: 40 kB / 0.836 GB, free: 8.039 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003047/0.2387, allocations: 163.7 kB / 0.8362 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.2389, allocations: 155.6 kB / 0.8363 GB, free: 7.727 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002058/0.2391, allocations: 187.1 kB / 0.8365 GB, free: 7.543 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005858/0.2397, allocations: 0.5332 MB / 0.837 GB, free: 7.008 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2397, allocations: 0 / 0.837 GB, free: 7.008 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2397, allocations: 0 / 0.837 GB, free: 7.008 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.136e-06/0.2397, allocations: 0 / 0.837 GB, free: 7.008 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.001207/0.2409, allocations: 0.686 MB / 0.8377 GB, free: 6.273 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.241, allocations: 12.03 kB / 0.8377 GB, free: 6.262 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007137/0.2417, allocations: 108.6 kB / 0.8378 GB, free: 6.156 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/0.2421, allocations: 303.8 kB / 0.8381 GB, free: 5.82 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.731e-05/0.2422, allocations: 55.25 kB / 0.8382 GB, free: 5.762 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.045e-05/0.2422, allocations: 36.31 kB / 0.8382 GB, free: 5.727 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008841/0.2431, allocations: 0.5048 MB / 0.8387 GB, free: 5.199 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.2431, allocations: 7.938 kB / 0.8387 GB, free: 5.191 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.646e-05/0.2432, allocations: 12 kB / 0.8387 GB, free: 5.18 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001171/0.2433, allocations: 32.92 kB / 0.8388 GB, free: 5.148 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006715/0.244, allocations: 379.7 kB / 0.8391 GB, free: 4.777 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002453/0.2464, allocations: 2.22 MB / 0.8413 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006902/0.2471, allocations: 256.7 kB / 0.8415 GB, free: 2.07 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003509/0.2475, allocations: 152.8 kB / 0.8417 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.217e-05/0.2476, allocations: 7.953 kB / 0.8417 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.2476, allocations: 34.56 kB / 0.8417 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=19): time 1.623e-06/0.2476, allocations: 3.938 kB / 0.8417 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19): time 0.001503/0.2491, allocations: 0.5674 MB / 0.8423 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.2492, allocations: 51.41 kB / 0.8423 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002559/0.2494, allocations: 229 kB / 0.8425 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.112e-05/0.2495, allocations: 33.7 kB / 0.8426 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.2497, allocations: 216.2 kB / 0.8428 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.211e-05/0.2497, allocations: 67.38 kB / 0.8428 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.634e-05/0.2498, allocations: 57.66 kB / 0.8429 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.25, allocations: 330.8 kB / 0.8432 GB, free: 244 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002288/0.2502, allocations: 96.8 kB / 0.8433 GB, free: 144 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002893/0.2505, allocations: 175.6 kB / 0.8435 GB, free: 15.93 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004877/0.251, allocations: 284.1 kB / 0.8437 GB, free: 15.62 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.251, allocations: 0 / 0.8437 GB, free: 15.62 MB / 0.67 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008624/0.2519, allocations: 378.8 kB / 0.8441 GB, free: 15.24 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.2519, allocations: 8 kB / 0.8441 GB, free: 15.23 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.2519, allocations: 4 kB / 0.8441 GB, free: 15.23 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005124/0.2525, allocations: 105.8 kB / 0.8442 GB, free: 15.12 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001971/0.2527, allocations: 59.84 kB / 0.8443 GB, free: 15.06 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003097/0.2558, allocations: 3.039 MB / 0.8472 GB, free: 11.73 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002502/0.256, allocations: 35.77 kB / 0.8473 GB, free: 11.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.2561, allocations: 12 kB / 0.8473 GB, free: 11.68 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003503/0.2564, allocations: 224 kB / 0.8475 GB, free: 11.46 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002531/0.2567, allocations: 176.5 kB / 0.8477 GB, free: 11.25 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004173/0.2571, allocations: 271.5 kB / 0.8479 GB, free: 10.95 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.513e-06/0.2571, allocations: 4 kB / 0.8479 GB, free: 10.95 MB / 0.67 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007479/0.2579, allocations: 353.3 kB / 0.8483 GB, free: 10.6 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.2579, allocations: 11.97 kB / 0.8483 GB, free: 10.59 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.2579, allocations: 4 kB / 0.8483 GB, free: 10.58 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002867/0.2582, allocations: 84.77 kB / 0.8484 GB, free: 10.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.2584, allocations: 59.91 kB / 0.8484 GB, free: 10.44 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001875/0.2603, allocations: 1.606 MB / 0.85 GB, free: 8.695 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/0.2606, allocations: 27.88 kB / 0.85 GB, free: 8.668 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.2606, allocations: 15.94 kB / 0.85 GB, free: 8.652 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.0001262/0.2607, allocations: 200.7 kB / 0.8502 GB, free: 8.449 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.764e-05/0.2608, allocations: 23.84 kB / 0.8502 GB, free: 8.426 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.122e-05/0.2608, allocations: 26.19 kB / 0.8503 GB, free: 8.395 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2608, allocations: 4 kB / 0.8503 GB, free: 8.391 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.2609, allocations: 0 / 0.8503 GB, free: 8.391 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.2609, allocations: 11.92 kB / 0.8503 GB, free: 8.379 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.2622, allocations: 0.82 MB / 0.8511 GB, free: 7.48 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2622, allocations: 144 / 0.8511 GB, free: 7.48 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.2624, allocations: 35.91 kB / 0.8511 GB, free: 7.445 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003716/0.2627, allocations: 109.7 kB / 0.8512 GB, free: 7.332 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.2628, allocations: 0 / 0.8512 GB, free: 7.332 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002724/0.2655, allocations: 3.031 MB / 0.8542 GB, free: 4.027 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.2655, allocations: 0 / 0.8542 GB, free: 4.027 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007194/0.2662, allocations: 415.2 kB / 0.8546 GB, free: 3.594 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 9.898e-05/0.2663, allocations: 116.9 kB / 0.8547 GB, free: 3.461 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.955e-05/0.2664, allocations: 8 kB / 0.8547 GB, free: 3.453 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.2665, allocations: 7.984 kB / 0.8547 GB, free: 3.445 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.147e-05/0.2666, allocations: 23.97 kB / 0.8547 GB, free: 3.422 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.2666, allocations: 11.94 kB / 0.8547 GB, free: 3.41 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0001391/0.2668, allocations: 160.5 kB / 0.8549 GB, free: 3.258 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2668, allocations: 0 / 0.8549 GB, free: 3.258 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0005765/0.2674, allocations: 175.5 kB / 0.8551 GB, free: 3.086 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 9.997e-05/0.2675, allocations: 103.2 kB / 0.8552 GB, free: 2.977 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001832/0.2693, allocations: 0.7621 MB / 0.8559 GB, free: 2.176 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.2693, allocations: 0 / 0.8559 GB, free: 2.176 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007579/0.2701, allocations: 369.7 kB / 0.8563 GB, free: 1.789 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/0.2705, allocations: 69.03 kB / 0.8563 GB, free: 1.723 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009971/0.2715, allocations: 0.5848 MB / 0.8569 GB, free: 1.102 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.2719, allocations: 0.8146 MB / 0.8577 GB, free: 264 kB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001742/0.2721, allocations: 50.25 kB / 0.8577 GB, free: 212 kB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.876e-05/0.2722, allocations: 23.44 kB / 0.8578 GB, free: 192 kB / 0.67 GB Notification: Performance of SimCode: time 3.51e-07/0.2722, allocations: 3.938 kB / 0.8578 GB, free: 188 kB / 0.67 GB Notification: Performance of Templates: time 0.008624/0.2808, allocations: 4.733 MB / 0.8624 GB, free: 11.48 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)