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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00123/0.00123, allocations: 110.6 kB / 16.41 MB, free: 6.496 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.00123/0.00123, allocations: 188.1 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.312/2.312, allocations: 390.2 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 63.91 kB / 0.9516 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8581/0.8595, allocations: 140.4 MB / 1.089 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.0258/0.8853, allocations: 22.64 MB / 1.111 GB, free: 6.23 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0295/0.9148, allocations: 17.63 MB / 1.128 GB, free: 9.977 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004087/0.919, allocations: 115.1 kB / 1.128 GB, free: 9.938 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01154/0.9305, allocations: 4.169 MB / 1.132 GB, free: 7.426 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01248/0.943, allocations: 3.51 MB / 1.136 GB, free: 5.312 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004381/0.9474, allocations: 1.313 MB / 1.137 GB, free: 4.625 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01058/0.958, allocations: 5.79 MB / 1.143 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007118/0.9652, allocations: 3.591 MB / 1.146 GB, free: 216 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005594/0.9708, allocations: 2.479 MB / 1.148 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005824/0.9766, allocations: 2.443 MB / 1.151 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001723/0.9784, allocations: 369.2 kB / 1.151 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003787/0.9822, allocations: 1.034 MB / 1.152 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.002033/0.9842, allocations: 1.193 MB / 1.153 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.00484/0.9891, allocations: 2.003 MB / 1.155 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.009602/0.9987, allocations: 5.18 MB / 1.16 GB, free: 9.32 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.9987, allocations: 0 / 1.16 GB, free: 9.32 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.194e-06/0.9988, allocations: 4 kB / 1.16 GB, free: 9.316 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001791/0.9989, allocations: 1.156 kB / 1.16 GB, free: 9.316 MB / 0.9044 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.01484/1.014, allocations: 4.614 MB / 1.165 GB, free: 6.137 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/1.014, allocations: 9.844 kB / 1.165 GB, free: 6.137 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0172/1.031, allocations: 3.26 MB / 1.168 GB, free: 4.648 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005658/1.037, allocations: 2.224 MB / 1.17 GB, free: 3.07 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004391/1.037, allocations: 466.6 kB / 1.171 GB, free: 2.664 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000797/1.038, allocations: 235.7 kB / 1.171 GB, free: 2.586 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01241/1.05, allocations: 4.813 MB / 1.176 GB, free: 15.73 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.678e-05/1.051, allocations: 1.219 kB / 1.176 GB, free: 15.73 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003855/1.051, allocations: 109.6 kB / 1.176 GB, free: 15.65 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002087/1.051, allocations: 168.8 kB / 1.176 GB, free: 15.61 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01489/1.066, allocations: 5.197 MB / 1.181 GB, free: 12.99 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02549/1.092, allocations: 14.4 MB / 1.195 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009966/1.102, allocations: 3.387 MB / 1.198 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003851/1.105, allocations: 1.475 MB / 1.2 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/1.106, allocations: 25.3 kB / 1.2 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004352/1.11, allocations: 1.79 MB / 1.202 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=163): time 3.256e-06/1.11, allocations: 0 / 1.202 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of matching and sorting (n=250): time 0.1329/1.243, allocations: 28.23 MB / 1.229 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002303/1.243, allocations: 0.4967 MB / 1.23 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003859/1.247, allocations: 2.3 MB / 1.232 GB, free: 9.574 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0004914/1.247, allocations: 77.7 kB / 1.232 GB, free: 9.492 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001343/1.249, allocations: 1.434 MB / 1.233 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.001021/1.25, allocations: 0.824 MB / 1.234 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001035/1.251, allocations: 408.5 kB / 1.235 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.848e-05/1.251, allocations: 305.1 kB / 1.235 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00559/1.257, allocations: 1.929 MB / 1.237 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005977/1.263, allocations: 2.235 MB / 1.239 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.011/1.274, allocations: 4.158 MB / 1.243 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/1.274, allocations: 8 kB / 1.243 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01938/1.293, allocations: 6.535 MB / 1.249 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001513/1.293, allocations: 152.8 kB / 1.249 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.542e-05/1.293, allocations: 8 kB / 1.249 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01048/1.304, allocations: 2.926 MB / 1.252 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003047/1.307, allocations: 487.2 kB / 1.253 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04222/1.349, allocations: 18.83 MB / 1.271 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004881/1.354, allocations: 315.6 kB / 1.271 GB, free: 336 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005932/1.355, allocations: 91.97 kB / 1.272 GB, free: 244 kB / 0.9981 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 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * 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 (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): 1 system {(10,52,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,64)} Notification: Performance of prepare postOptimizeDAE: time 0.002116/1.357, allocations: 0.7106 MB / 1.272 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001123/1.358, allocations: 332.1 kB / 1.273 GB, free: 15.19 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/1.359, allocations: 384.3 kB / 1.273 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.239e-05/1.359, allocations: 24 kB / 1.273 GB, free: 14.78 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-05/1.359, allocations: 19.88 kB / 1.273 GB, free: 14.76 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.893e-05/1.359, allocations: 11.95 kB / 1.273 GB, free: 14.75 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006507/1.366, allocations: 3.624 MB / 1.277 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.703e-05/1.366, allocations: 3.984 kB / 1.277 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002647/1.368, allocations: 415.4 kB / 1.277 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01034/1.379, allocations: 2.865 MB / 1.28 GB, free: 7.785 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000585/1.379, allocations: 51.97 kB / 1.28 GB, free: 7.734 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04101/1.42, allocations: 18.61 MB / 1.298 GB, free: 4.832 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.42, allocations: 0 / 1.298 GB, free: 4.832 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01916/1.44, allocations: 6.181 MB / 1.304 GB, free: 14.61 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00216/1.442, allocations: 0.6961 MB / 1.305 GB, free: 13.89 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001151/1.443, allocations: 51.92 kB / 1.305 GB, free: 13.84 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004114/1.447, allocations: 311.6 kB / 1.305 GB, free: 13.54 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00128/1.448, allocations: 350.7 kB / 1.305 GB, free: 13.2 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003271/1.449, allocations: 71.97 kB / 1.305 GB, free: 13.12 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002717/1.451, allocations: 1.528 MB / 1.307 GB, free: 11.6 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.8e-07/1.452, allocations: 7.938 kB / 1.307 GB, free: 11.59 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.004094/1.456, allocations: 1.051 MB / 1.308 GB, free: 10.54 MB / 1.045 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 (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): 1 system {(10,52,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005173/1.456, allocations: 165.5 kB / 1.308 GB, free: 10.37 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.02438/1.481, allocations: 6.469 MB / 1.314 GB, free: 3.812 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/1.481, allocations: 4.75 kB / 1.314 GB, free: 3.809 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0178/1.498, allocations: 4.06 MB / 1.318 GB, free: 15.71 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006221/1.505, allocations: 1.141 MB / 1.32 GB, free: 14.61 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01616/1.521, allocations: 6.867 MB / 1.326 GB, free: 7.715 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002402/1.523, allocations: 2.227 MB / 1.328 GB, free: 5.457 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001236/1.525, allocations: 207.4 kB / 1.329 GB, free: 5.254 MB / 1.061 GB Notification: Performance of SimCode: time 1.313e-06/1.525, allocations: 3.938 kB / 1.329 GB, free: 5.25 MB / 1.061 GB Notification: Performance of Templates: time 0.1039/1.628, allocations: 80.22 MB / 1.407 GB, free: 5.344 MB / 1.139 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)