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.001244/0.001244, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01243/0.01243, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.505/1.505, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.594/1.594, allocations: 252 MB / 0.5105 GB, free: 4.715 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.0004963/0.0004964, allocations: 12 kB / 0.6249 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5796/0.5801, allocations: 106.3 MB / 0.7287 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.004713/0.5849, allocations: 3.727 MB / 0.7324 GB, free: 7.543 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002411/0.5873, allocations: 1.579 MB / 0.7339 GB, free: 5.953 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001581/0.5875, allocations: 7.938 kB / 0.7339 GB, free: 5.945 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002157/0.5877, allocations: 71.48 kB / 0.734 GB, free: 5.875 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004744/0.5882, allocations: 219 kB / 0.7342 GB, free: 5.66 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005048/0.5887, allocations: 191.6 kB / 0.7344 GB, free: 5.473 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000711/0.5895, allocations: 0.7714 MB / 0.7351 GB, free: 4.699 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005383/0.59, allocations: 438.4 kB / 0.7355 GB, free: 4.242 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002068/0.5902, allocations: 183.3 kB / 0.7357 GB, free: 4.062 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004022/0.5906, allocations: 239.1 kB / 0.7359 GB, free: 3.828 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.892e-05/0.5907, allocations: 20 kB / 0.736 GB, free: 3.809 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003055/0.591, allocations: 195.6 kB / 0.7361 GB, free: 3.617 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001544/0.5912, allocations: 131.6 kB / 0.7363 GB, free: 3.488 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.5914, allocations: 200.8 kB / 0.7365 GB, free: 3.285 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004833/0.5918, allocations: 0.508 MB / 0.737 GB, free: 2.777 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.5919, allocations: 0 / 0.737 GB, free: 2.777 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5919, allocations: 0 / 0.737 GB, free: 2.777 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.335e-06/0.5919, allocations: 0 / 0.737 GB, free: 2.777 MB / 0.545 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.001047/0.5929, allocations: 0.6236 MB / 0.7376 GB, free: 2.105 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.593, allocations: 8.031 kB / 0.7376 GB, free: 2.098 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000677/0.5936, allocations: 116.4 kB / 0.7377 GB, free: 1.984 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003636/0.594, allocations: 295.6 kB / 0.738 GB, free: 1.656 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.922e-05/0.5941, allocations: 59.25 kB / 0.738 GB, free: 1.594 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.51e-05/0.5942, allocations: 32.36 kB / 0.7381 GB, free: 1.562 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007928/0.595, allocations: 0.5087 MB / 0.7386 GB, free: 1.023 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.595, allocations: 3.938 kB / 0.7386 GB, free: 1.02 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.94e-05/0.595, allocations: 16 kB / 0.7386 GB, free: 1.004 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.805e-05/0.5951, allocations: 28.98 kB / 0.7386 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006984/0.5958, allocations: 391.7 kB / 0.739 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002394/0.5982, allocations: 2.22 MB / 0.7411 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007014/0.5989, allocations: 266.7 kB / 0.7414 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003616/0.5993, allocations: 152.8 kB / 0.7415 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.5993, allocations: 4 kB / 0.7415 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.5993, allocations: 42.5 kB / 0.7416 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=19): time 1.352e-06/0.5994, allocations: 0 / 0.7416 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.001514/0.6009, allocations: 0.5868 MB / 0.7422 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.6009, allocations: 55.41 kB / 0.7422 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.6011, allocations: 229 kB / 0.7424 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.6012, allocations: 33.7 kB / 0.7425 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.6013, allocations: 211.6 kB / 0.7427 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.676e-05/0.6014, allocations: 63.05 kB / 0.7427 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.964e-05/0.6014, allocations: 29.7 kB / 0.7428 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.6016, allocations: 330.8 kB / 0.7431 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.6018, allocations: 99.92 kB / 0.7432 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002813/0.6021, allocations: 184.6 kB / 0.7433 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000492/0.6026, allocations: 279.8 kB / 0.7436 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.6026, allocations: 4 kB / 0.7436 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008518/0.6034, allocations: 390.8 kB / 0.744 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.709e-05/0.6035, allocations: 161.7 kB / 0.7441 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.6036, allocations: 0 / 0.7441 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000503/0.6041, allocations: 113.6 kB / 0.7442 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.6043, allocations: 51.97 kB / 0.7443 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003076/0.6074, allocations: 2.833 MB / 0.7471 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002515/0.6076, allocations: 35.73 kB / 0.7471 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.6077, allocations: 11.94 kB / 0.7471 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.094e-06/0.6077, allocations: 4 kB / 0.7471 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007739/0.6085, allocations: 322.7 kB / 0.7474 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.6085, allocations: 4 kB / 0.7474 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002816/0.6088, allocations: 77.09 kB / 0.7475 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/0.609, allocations: 59.91 kB / 0.7476 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001899/0.6109, allocations: 1.506 MB / 0.749 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.6111, allocations: 27.83 kB / 0.7491 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.6112, allocations: 8 kB / 0.7491 GB, free: 5.379 MB / 0.5606 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.0002563/0.6114, allocations: 249.1 kB / 0.7493 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.019e-05/0.6115, allocations: 27.72 kB / 0.7493 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.576e-05/0.6116, allocations: 26.17 kB / 0.7493 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.6116, allocations: 7.938 kB / 0.7494 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.6116, allocations: 4 kB / 0.7494 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.6116, allocations: 0 / 0.7494 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/0.613, allocations: 0.8503 MB / 0.7502 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.613, allocations: 0 / 0.7502 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.6132, allocations: 31.98 kB / 0.7502 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003729/0.6135, allocations: 105.8 kB / 0.7503 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.6136, allocations: 4 kB / 0.7503 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00279/0.6164, allocations: 2.81 MB / 0.7531 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6164, allocations: 0 / 0.7531 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007735/0.6172, allocations: 418.5 kB / 0.7535 GB, free: 488 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.6173, allocations: 124.7 kB / 0.7536 GB, free: 344 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.899e-05/0.6173, allocations: 8 kB / 0.7536 GB, free: 336 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/0.6175, allocations: 11.98 kB / 0.7536 GB, free: 324 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.193e-05/0.6176, allocations: 31.98 kB / 0.7536 GB, free: 292 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.6176, allocations: 11.98 kB / 0.7536 GB, free: 280 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001483/0.6177, allocations: 160.5 kB / 0.7538 GB, free: 124 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6178, allocations: 0 / 0.7538 GB, free: 124 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006351/0.6184, allocations: 163.4 kB / 0.754 GB, free: 15.96 MB / 0.5762 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.0001249/0.6185, allocations: 107.2 kB / 0.7541 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001924/0.6205, allocations: 0.7725 MB / 0.7548 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.6205, allocations: 0 / 0.7548 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007846/0.6213, allocations: 377.5 kB / 0.7552 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004547/0.6217, allocations: 55.27 kB / 0.7552 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.6228, allocations: 0.7342 MB / 0.7559 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.6232, allocations: 0.8107 MB / 0.7567 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001836/0.6234, allocations: 54.19 kB / 0.7568 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.21e-05/0.6234, allocations: 19.44 kB / 0.7568 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of SimCode: time 2.5e-07/0.6234, allocations: 0 / 0.7568 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of Templates: time 0.008571/0.632, allocations: 4.258 MB / 0.761 GB, free: 8.688 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: