Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008875/0.0008876, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001149/0.001148, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.569/2.569, allocations: 390.9 MB / 0.666 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003658/0.000366, allocations: 12 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8492/0.8496, allocations: 142.4 MB / 0.9544 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.0224/0.872, allocations: 20.43 MB / 0.9744 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02842/0.9005, allocations: 16.41 MB / 0.9904 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004516/0.905, allocations: 99.44 kB / 0.9905 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.003291/0.9083, allocations: 0.5579 MB / 0.991 GB, free: 9.938 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01289/0.9213, allocations: 2.87 MB / 0.9938 GB, free: 7.066 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004172/0.9255, allocations: 0.9576 MB / 0.9948 GB, free: 6.113 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01231/0.9378, allocations: 5.929 MB / 1.001 GB, free: 168 kB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006727/0.9446, allocations: 2.063 MB / 1.003 GB, free: 14.03 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006299/0.9509, allocations: 1.977 MB / 1.005 GB, free: 12.05 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006392/0.9574, allocations: 2.214 MB / 1.007 GB, free: 9.824 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001548/0.9589, allocations: 179.9 kB / 1.007 GB, free: 9.648 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003079/0.9621, allocations: 0.5033 MB / 1.007 GB, free: 9.145 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.00202/0.9641, allocations: 0.9498 MB / 1.008 GB, free: 8.191 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001895/0.966, allocations: 0.6912 MB / 1.009 GB, free: 7.492 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.005658/0.9717, allocations: 3.931 MB / 1.013 GB, free: 3.551 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.9717, allocations: 0 / 1.013 GB, free: 3.551 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9717, allocations: 0 / 1.013 GB, free: 3.551 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001902/0.9719, allocations: 0 / 1.013 GB, free: 3.551 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.009535/0.9815, allocations: 4.108 MB / 1.017 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.9815, allocations: 12.03 kB / 1.017 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01487/0.9964, allocations: 3.362 MB / 1.02 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006952/1.003, allocations: 1.991 MB / 1.022 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005713/1.004, allocations: 469.7 kB / 1.022 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001633/1.006, allocations: 228 kB / 1.023 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0162/1.022, allocations: 4.869 MB / 1.027 GB, free: 4.129 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001822/1.022, allocations: 0 / 1.027 GB, free: 4.129 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00181/1.024, allocations: 104 kB / 1.028 GB, free: 4.027 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002776/1.024, allocations: 168.8 kB / 1.028 GB, free: 3.859 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01592/1.04, allocations: 5.3 MB / 1.033 GB, free: 14.54 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02541/1.066, allocations: 14.58 MB / 1.047 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009684/1.075, allocations: 3.676 MB / 1.051 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003801/1.079, allocations: 1.588 MB / 1.052 GB, free: 9.508 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001896/1.079, allocations: 25.17 kB / 1.052 GB, free: 9.488 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004595/1.084, allocations: 1.921 MB / 1.054 GB, free: 7.5 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=163): time 5.851e-06/1.084, allocations: 0 / 1.054 GB, free: 7.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=250): time 0.1186/1.203, allocations: 34.09 MB / 1.087 GB, free: 5.195 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003938/1.203, allocations: 0.4967 MB / 1.088 GB, free: 4.586 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004456/1.208, allocations: 2.273 MB / 1.09 GB, free: 2.301 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0005826/1.208, allocations: 77.69 kB / 1.09 GB, free: 2.219 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.001713/1.21, allocations: 1.434 MB / 1.092 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.001335/1.211, allocations: 0.8124 MB / 1.092 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003634/1.212, allocations: 48 kB / 1.092 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002796/1.212, allocations: 398.6 kB / 1.093 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0054/1.217, allocations: 2.108 MB / 1.095 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005436/1.223, allocations: 2.408 MB / 1.097 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005472/1.228, allocations: 2.292 MB / 1.1 GB, free: 8.555 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/1.228, allocations: 0 / 1.1 GB, free: 8.555 MB / 0.8575 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01836/1.247, allocations: 6.883 MB / 1.106 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001473/1.247, allocations: 148.5 kB / 1.106 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.578e-05/1.247, allocations: 11.94 kB / 1.106 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009714/1.257, allocations: 2.942 MB / 1.109 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002956/1.26, allocations: 0.5773 MB / 1.11 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03657/1.296, allocations: 17.32 MB / 1.127 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004116/1.3, allocations: 415.6 kB / 1.127 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005619/1.301, allocations: 87.97 kB / 1.127 GB, free: 11.81 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,45.0%) 52} * Non-linear torn systems: 1 {9 63} Notification: Performance of prepare postOptimizeDAE: time 0.002138/1.303, allocations: 0.7025 MB / 1.128 GB, free: 11.1 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009797/1.304, allocations: 340 kB / 1.128 GB, free: 10.76 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001105/1.305, allocations: 384.1 kB / 1.129 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-05/1.305, allocations: 24 kB / 1.129 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-05/1.305, allocations: 12 kB / 1.129 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.999e-05/1.305, allocations: 11.95 kB / 1.129 GB, free: 10.33 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006762/1.312, allocations: 3.632 MB / 1.132 GB, free: 6.641 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.251e-05/1.312, allocations: 0 / 1.132 GB, free: 6.641 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002629/1.315, allocations: 0.4954 MB / 1.133 GB, free: 6.145 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01008/1.325, allocations: 2.868 MB / 1.135 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005534/1.326, allocations: 51.97 kB / 1.136 GB, free: 3.219 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03684/1.362, allocations: 17.11 MB / 1.152 GB, free: 1.824 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.363, allocations: 0 / 1.152 GB, free: 1.824 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01917/1.382, allocations: 6.525 MB / 1.159 GB, free: 11.27 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002498/1.384, allocations: 0.7038 MB / 1.159 GB, free: 10.54 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001226/1.386, allocations: 44 kB / 1.159 GB, free: 10.5 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003856/1.389, allocations: 415.5 kB / 1.16 GB, free: 10.09 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001445/1.391, allocations: 362.6 kB / 1.16 GB, free: 9.738 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003879/1.391, allocations: 71.97 kB / 1.16 GB, free: 9.668 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.003827/1.395, allocations: 1.513 MB / 1.162 GB, free: 8.156 MB / 0.92 GB Notification: Performance of sort global known variables: time 2e-07/1.395, allocations: 0 / 1.162 GB, free: 8.156 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.004659/1.4, allocations: 1.043 MB / 1.163 GB, free: 7.113 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 52} * Non-linear torn systems: 1 {10 62} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006282/1.4, allocations: 168.3 kB / 1.163 GB, free: 6.938 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.03087/1.431, allocations: 6.84 MB / 1.169 GB, free: 0 / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.508e-05/1.431, allocations: 4.047 kB / 1.169 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.02491/1.456, allocations: 4.222 MB / 1.174 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008984/1.465, allocations: 1.05 MB / 1.175 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01655/1.482, allocations: 7.743 MB / 1.182 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002511/1.485, allocations: 2.235 MB / 1.184 GB, free: 0.6758 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.002906/1.488, allocations: 0.506 MB / 1.185 GB, free: 168 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008684/1.488, allocations: 175.4 kB / 1.185 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of SimCode: time 8.51e-07/1.488, allocations: 0 / 1.185 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of Templates: time 0.7214/2.21, allocations: 70.1 MB / 1.253 GB, free: 270.2 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)