Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 101.9 kB / 16.27 MB, free: 6.414 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.001916/0.001916, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.452/1.452, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.761/1.761, allocations: 292.3 MB / 0.5495 GB, free: 17.48 MB / 462.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.001449/0.001449, allocations: 71.91 kB / 0.6722 GB, free: 6.551 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2341, allocations: 114.6 MB / 0.784 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.3718/0.6059, allocations: 6.691 MB / 0.7906 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004128/0.6101, allocations: 3.054 MB / 0.7936 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004279/0.6106, allocations: 26.16 kB / 0.7936 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002123/0.6127, allocations: 0.9415 MB / 0.7945 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001063/0.6138, allocations: 0.5056 MB / 0.795 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009361/0.6147, allocations: 417.9 kB / 0.7954 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0009162/0.6156, allocations: 1.225 MB / 0.7966 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007646/0.6164, allocations: 0.6585 MB / 0.7972 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004669/0.6169, allocations: 475 kB / 0.7977 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000551/0.6175, allocations: 0.5139 MB / 0.7982 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.346e-05/0.6176, allocations: 69.28 kB / 0.7983 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006664/0.6182, allocations: 380.8 kB / 0.7986 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002603/0.6185, allocations: 314 kB / 0.7989 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003521/0.6189, allocations: 445.2 kB / 0.7993 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001275/0.6201, allocations: 1.204 MB / 0.8005 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.6202, allocations: 2.438 kB / 0.8005 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6202, allocations: 0 / 0.8005 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.192e-05/0.6202, allocations: 0 / 0.8005 GB, free: 43.35 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001923/0.6221, allocations: 1.156 MB / 0.8016 GB, free: 42.56 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.6222, allocations: 8.062 kB / 0.8017 GB, free: 42.56 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001508/0.6237, allocations: 239.2 kB / 0.8019 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007867/0.6245, allocations: 0.5445 MB / 0.8024 GB, free: 42.13 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.145e-05/0.6246, allocations: 52.05 kB / 0.8025 GB, free: 42.11 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.811e-05/0.6247, allocations: 64.62 kB / 0.8025 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001632/0.6263, allocations: 1.083 MB / 0.8036 GB, free: 41.46 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.95e-05/0.6263, allocations: 6.812 kB / 0.8036 GB, free: 41.46 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.318e-05/0.6264, allocations: 40.23 kB / 0.8036 GB, free: 41.43 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001679/0.6266, allocations: 84.08 kB / 0.8037 GB, free: 41.42 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.6278, allocations: 0.7491 MB / 0.8044 GB, free: 41.16 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004769/0.6326, allocations: 5.9 MB / 0.8102 GB, free: 36.14 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.6338, allocations: 0.5511 MB / 0.8107 GB, free: 35.93 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007015/0.6345, allocations: 333.8 kB / 0.8111 GB, free: 35.8 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.835e-05/0.6346, allocations: 6.312 kB / 0.8111 GB, free: 35.8 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.6346, allocations: 38.28 kB / 0.8111 GB, free: 35.75 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=47): time 3.426e-06/0.6346, allocations: 4 kB / 0.8111 GB, free: 35.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48): time 0.006071/0.6407, allocations: 1.978 MB / 0.813 GB, free: 34.71 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.6408, allocations: 55.69 kB / 0.8131 GB, free: 34.64 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.6419, allocations: 0.5577 MB / 0.8136 GB, free: 34.38 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.39e-05/0.642, allocations: 36.97 kB / 0.8137 GB, free: 34.34 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003245/0.6423, allocations: 417.3 kB / 0.8141 GB, free: 34.01 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/0.6425, allocations: 172.8 kB / 0.8142 GB, free: 33.88 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002925/0.6428, allocations: 129.6 kB / 0.8144 GB, free: 33.8 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.6429, allocations: 374 kB / 0.8147 GB, free: 33.46 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000647/0.6436, allocations: 274.6 kB / 0.815 GB, free: 33.37 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007784/0.6444, allocations: 498 kB / 0.8155 GB, free: 33 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/0.6459, allocations: 0.8144 MB / 0.8162 GB, free: 32.45 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.6459, allocations: 2.719 kB / 0.8162 GB, free: 32.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002955/0.6489, allocations: 1.084 MB / 0.8173 GB, free: 31.99 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.709e-05/0.649, allocations: 7.906 kB / 0.8173 GB, free: 31.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.342e-05/0.649, allocations: 6.891 kB / 0.8173 GB, free: 31.99 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0013/0.6503, allocations: 282 kB / 0.8176 GB, free: 31.91 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007967/0.6511, allocations: 125.6 kB / 0.8177 GB, free: 31.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007842/0.659, allocations: 7.14 MB / 0.8247 GB, free: 25.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.6601, allocations: 35.72 kB / 0.8247 GB, free: 25.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-05/0.6602, allocations: 35 kB / 0.8248 GB, free: 25.65 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005396/0.6607, allocations: 260.4 kB / 0.825 GB, free: 25.46 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001749/0.6609, allocations: 67.78 kB / 0.8251 GB, free: 25.43 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002284/0.6632, allocations: 0.8875 MB / 0.8259 GB, free: 25.04 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.888e-06/0.6632, allocations: 5.656 kB / 0.8259 GB, free: 25.04 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.6633, allocations: 8.531 kB / 0.8259 GB, free: 25.03 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/0.6633, allocations: 2.203 kB / 0.8259 GB, free: 25.03 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003884/0.6672, allocations: 1.714 MB / 0.8276 GB, free: 24.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.6672, allocations: 1.438 kB / 0.8276 GB, free: 24.17 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004179/0.6676, allocations: 59.58 kB / 0.8277 GB, free: 24.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001134/0.6688, allocations: 273.4 kB / 0.8279 GB, free: 24.07 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.976e-05/0.6688, allocations: 11.19 kB / 0.828 GB, free: 24.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008122/0.677, allocations: 7.125 MB / 0.8349 GB, free: 17.85 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/0.677, allocations: 6.812 kB / 0.8349 GB, free: 17.85 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002437/0.6795, allocations: 0.9873 MB / 0.8359 GB, free: 17.32 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004489/0.6799, allocations: 193.4 kB / 0.8361 GB, free: 17.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.6801, allocations: 9.328 kB / 0.8361 GB, free: 17.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006257/0.6807, allocations: 34.03 kB / 0.8361 GB, free: 17.16 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001986/0.6809, allocations: 45.23 kB / 0.8361 GB, free: 17.14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-05/0.681, allocations: 18.62 kB / 0.8362 GB, free: 17.14 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006915/0.6817, allocations: 384.9 kB / 0.8365 GB, free: 16.97 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.5e-07/0.6817, allocations: 0 / 0.8365 GB, free: 16.97 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001513/0.6832, allocations: 225.6 kB / 0.8367 GB, free: 16.95 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001981/0.6834, allocations: 115.2 kB / 0.8369 GB, free: 16.84 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003031/0.6865, allocations: 1.332 MB / 0.8382 GB, free: 16.1 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.655e-06/0.6865, allocations: 1.062 kB / 0.8382 GB, free: 16.1 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001671/0.6882, allocations: 0.8849 MB / 0.839 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/0.6899, allocations: 221 kB / 0.8392 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002845/0.6927, allocations: 1.407 MB / 0.8406 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000725/0.6935, allocations: 1.01 MB / 0.8416 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002267/0.6937, allocations: 45.52 kB / 0.8416 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of SimCode: time 7.92e-07/0.6937, allocations: 9.031 kB / 0.8416 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of Templates: time 0.03139/0.7251, allocations: 20.65 MB / 0.8618 GB, free: 5.633 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)