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.001664/0.001664, allocations: 113.4 kB / 16.38 MB, free: 6.02 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.00188/0.001881, allocations: 188.4 kB / 17.31 MB, free: 5.613 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.813/1.813, allocations: 205.1 MB / 223.2 MB, free: 12.27 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 2.08/2.08, allocations: 292.3 MB / 0.5496 GB, free: 17.56 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.001763/0.001763, allocations: 71.88 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2902, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.4617/0.7519, allocations: 6.703 MB / 0.7913 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004414/0.7564, allocations: 3.051 MB / 0.7943 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006168/0.757, allocations: 27.53 kB / 0.7944 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002204/0.7592, allocations: 0.9564 MB / 0.7953 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001278/0.7606, allocations: 0.4948 MB / 0.7958 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.7616, allocations: 425.8 kB / 0.7962 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001383/0.763, allocations: 1.225 MB / 0.7974 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009189/0.764, allocations: 0.6624 MB / 0.798 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006175/0.7646, allocations: 481.6 kB / 0.7985 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007394/0.7654, allocations: 0.5103 MB / 0.799 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.7655, allocations: 67 kB / 0.799 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008148/0.7663, allocations: 387.8 kB / 0.7994 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002961/0.7666, allocations: 306.8 kB / 0.7997 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003864/0.767, allocations: 449.5 kB / 0.8001 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001424/0.7684, allocations: 1.213 MB / 0.8013 GB, free: 43 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.7685, allocations: 3.766 kB / 0.8013 GB, free: 43 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.282e-06/0.7685, allocations: 0 / 0.8013 GB, free: 43 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.586e-05/0.7685, allocations: 0 / 0.8013 GB, free: 43 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.002244/0.7707, allocations: 1.154 MB / 0.8024 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 7.811e-05/0.7708, allocations: 13 kB / 0.8025 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001963/0.7728, allocations: 231.7 kB / 0.8027 GB, free: 42.16 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/0.774, allocations: 0.5952 MB / 0.8033 GB, free: 41.78 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.619e-05/0.7741, allocations: 47.25 kB / 0.8033 GB, free: 41.76 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.7743, allocations: 66.45 kB / 0.8034 GB, free: 41.73 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002312/0.7766, allocations: 1.088 MB / 0.8044 GB, free: 41.11 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.14e-05/0.7767, allocations: 8.188 kB / 0.8044 GB, free: 41.11 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-05/0.7767, allocations: 32.95 kB / 0.8045 GB, free: 41.08 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002329/0.777, allocations: 92.66 kB / 0.8046 GB, free: 41.07 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001639/0.7786, allocations: 0.7492 MB / 0.8053 GB, free: 40.8 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007194/0.7858, allocations: 5.868 MB / 0.811 GB, free: 35.8 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.7873, allocations: 0.5498 MB / 0.8116 GB, free: 35.59 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006323/0.788, allocations: 329.3 kB / 0.8119 GB, free: 35.46 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.14e-05/0.788, allocations: 5.219 kB / 0.8119 GB, free: 35.46 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.091e-05/0.7881, allocations: 38.42 kB / 0.8119 GB, free: 35.42 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=47): time 5.851e-06/0.7881, allocations: 1.547 kB / 0.8119 GB, free: 35.42 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48): time 0.005608/0.7937, allocations: 1.985 MB / 0.8139 GB, free: 34.37 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.7938, allocations: 56.53 kB / 0.8139 GB, free: 34.3 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.7949, allocations: 0.5539 MB / 0.8145 GB, free: 34.05 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.599e-05/0.7949, allocations: 36.98 kB / 0.8145 GB, free: 34.01 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003787/0.7953, allocations: 417.1 kB / 0.8149 GB, free: 33.68 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001932/0.7955, allocations: 171.3 kB / 0.815 GB, free: 33.54 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002738/0.7958, allocations: 128.3 kB / 0.8152 GB, free: 33.47 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.796, allocations: 382 kB / 0.8155 GB, free: 33.12 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000535/0.7966, allocations: 275.1 kB / 0.8158 GB, free: 33.03 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007379/0.7973, allocations: 495.7 kB / 0.8163 GB, free: 32.66 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/0.7987, allocations: 0.8108 MB / 0.8171 GB, free: 32.12 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/0.7987, allocations: 1.75 kB / 0.8171 GB, free: 32.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002185/0.8009, allocations: 1.087 MB / 0.8181 GB, free: 31.65 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.8009, allocations: 8.766 kB / 0.8181 GB, free: 31.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.801, allocations: 6.719 kB / 0.8181 GB, free: 31.65 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008694/0.8018, allocations: 278.4 kB / 0.8184 GB, free: 31.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005419/0.8024, allocations: 127.4 kB / 0.8185 GB, free: 31.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005909/0.8083, allocations: 7.138 MB / 0.8255 GB, free: 25.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008604/0.8092, allocations: 40.23 kB / 0.8255 GB, free: 25.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.096e-05/0.8093, allocations: 27.92 kB / 0.8256 GB, free: 25.32 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.0004334/0.8097, allocations: 251 kB / 0.8258 GB, free: 25.13 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.8098, allocations: 75.75 kB / 0.8259 GB, free: 25.09 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00154/0.8114, allocations: 0.8894 MB / 0.8267 GB, free: 24.7 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.8114, allocations: 5.953 kB / 0.8267 GB, free: 24.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.8114, allocations: 1.75 kB / 0.8267 GB, free: 24.7 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002648/0.8117, allocations: 187.4 kB / 0.8269 GB, free: 24.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.311e-05/0.8118, allocations: 8.172 kB / 0.8269 GB, free: 24.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000356/0.8121, allocations: 29.42 kB / 0.827 GB, free: 24.54 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.054e-05/0.8122, allocations: 45.34 kB / 0.827 GB, free: 24.54 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001923/0.8142, allocations: 0.9559 MB / 0.8279 GB, free: 24.15 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001237/0.8154, allocations: 1.044 MB / 0.829 GB, free: 23.65 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003836/0.8158, allocations: 269 kB / 0.8292 GB, free: 23.57 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004509/0.8163, allocations: 385.6 kB / 0.8296 GB, free: 23.4 MB / 0.6544 GB Notification: Performance of Backend: time 8.02e-07/0.8163, allocations: 0 / 0.8296 GB, free: 23.4 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002545/0.8188, allocations: 1.293 MB / 0.8308 GB, free: 22.64 MB / 0.6544 GB Notification: Performance of SimCode: time 0.002635/0.8215, allocations: 1.948 MB / 0.8327 GB, free: 21.45 MB / 0.6544 GB Notification: Performance of Templates: time 0.02523/0.8467, allocations: 13.05 MB / 0.8455 GB, free: 18.35 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)