Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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.001699/0.001699, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002011/0.002011, allocations: 196.3 kB / 16.14 MB, free: 6.703 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.989/1.989, allocations: 205.1 MB / 222 MB, free: 4.754 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.84/1.84, allocations: 251.7 MB / 0.5088 GB, free: 3.293 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.001384/0.001384, allocations: 63.91 kB / 0.6216 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8058/0.8072, allocations: 104.7 MB / 0.7238 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009096/0.8164, allocations: 6.702 MB / 0.7304 GB, free: 6.414 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00756/0.824, allocations: 3.083 MB / 0.7334 GB, free: 3.316 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008311/0.8249, allocations: 19.88 kB / 0.7334 GB, free: 3.297 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002624/0.8276, allocations: 0.8946 MB / 0.7343 GB, free: 2.402 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00204/0.8297, allocations: 481.7 kB / 0.7347 GB, free: 1.93 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001601/0.8313, allocations: 379.3 kB / 0.7351 GB, free: 1.559 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002377/0.8337, allocations: 1.587 MB / 0.7366 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001386/0.8351, allocations: 0.65 MB / 0.7373 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000688/0.8358, allocations: 422.3 kB / 0.7377 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007623/0.8365, allocations: 0.5253 MB / 0.7382 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.915e-05/0.8366, allocations: 48 kB / 0.7382 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009651/0.8376, allocations: 451.1 kB / 0.7387 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003073/0.8379, allocations: 299.1 kB / 0.7389 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000483/0.8384, allocations: 421.8 kB / 0.7394 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001299/0.8397, allocations: 1.207 MB / 0.7405 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.8398, allocations: 0 / 0.7405 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.233e-06/0.8398, allocations: 0 / 0.7405 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.8398, allocations: 0 / 0.7405 GB, free: 11.97 MB / 0.5606 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.002086/0.8419, allocations: 1.149 MB / 0.7417 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001718/0.8421, allocations: 8.031 kB / 0.7417 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001546/0.8436, allocations: 239.6 kB / 0.7419 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009037/0.8445, allocations: 0.553 MB / 0.7424 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.667e-05/0.8446, allocations: 45.67 kB / 0.7425 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.8447, allocations: 68.36 kB / 0.7425 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001823/0.8465, allocations: 1.081 MB / 0.7436 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.839e-05/0.8466, allocations: 7.938 kB / 0.7436 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.922e-05/0.8467, allocations: 35.98 kB / 0.7436 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001519/0.8468, allocations: 85.23 kB / 0.7437 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.848, allocations: 0.7504 MB / 0.7444 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00647/0.8545, allocations: 5.901 MB / 0.7502 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.8556, allocations: 0.5627 MB / 0.7508 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004423/0.8561, allocations: 327.4 kB / 0.7511 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.924e-05/0.8561, allocations: 4.438 kB / 0.7511 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001098/0.8562, allocations: 39 kB / 0.7511 GB, free: 492 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=47): time 3.357e-06/0.8563, allocations: 0 / 0.7511 GB, free: 492 kB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.004282/0.8605, allocations: 1.978 MB / 0.753 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.638e-05/0.8606, allocations: 59.83 kB / 0.7531 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008674/0.8615, allocations: 0.5546 MB / 0.7536 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.227e-05/0.8616, allocations: 37.7 kB / 0.7537 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003796/0.862, allocations: 418.9 kB / 0.7541 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002098/0.8622, allocations: 173.6 kB / 0.7542 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002229/0.8624, allocations: 122.5 kB / 0.7544 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002212/0.8627, allocations: 386.6 kB / 0.7547 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004459/0.8631, allocations: 273.8 kB / 0.755 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006803/0.8638, allocations: 489 kB / 0.7555 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.865, allocations: 0.8132 MB / 0.7563 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.865, allocations: 0 / 0.7563 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002329/0.8673, allocations: 1.09 MB / 0.7573 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.715e-05/0.8674, allocations: 8 kB / 0.7573 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.8674, allocations: 8 kB / 0.7573 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009346/0.8683, allocations: 271.8 kB / 0.7576 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004926/0.8688, allocations: 127.7 kB / 0.7577 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007931/0.8768, allocations: 6.599 MB / 0.7642 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008434/0.8777, allocations: 39.97 kB / 0.7642 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.708e-05/0.8778, allocations: 32.06 kB / 0.7642 GB, free: 2.145 MB / 0.5762 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.0005825/0.8784, allocations: 249.5 kB / 0.7645 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001751/0.8785, allocations: 75.09 kB / 0.7645 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001667/0.8802, allocations: 0.8885 MB / 0.7654 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.8802, allocations: 4 kB / 0.7654 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.8802, allocations: 4 kB / 0.7654 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.8803, allocations: 3.984 kB / 0.7654 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003076/0.8833, allocations: 1.724 MB / 0.7671 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/0.8834, allocations: 3.938 kB / 0.7671 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002827/0.8837, allocations: 60.08 kB / 0.7672 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008355/0.8845, allocations: 275.3 kB / 0.7674 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.863e-05/0.8846, allocations: 8 kB / 0.7674 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008154/0.8927, allocations: 6.583 MB / 0.7739 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.8928, allocations: 192 / 0.7739 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002038/0.8948, allocations: 0.9834 MB / 0.7748 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003485/0.8952, allocations: 196.2 kB / 0.775 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.193e-05/0.8953, allocations: 15.94 kB / 0.775 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003912/0.8957, allocations: 31.97 kB / 0.7751 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001735/0.8959, allocations: 43.88 kB / 0.7751 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-05/0.8959, allocations: 16 kB / 0.7751 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006987/0.8966, allocations: 387.1 kB / 0.7755 GB, free: 5.895 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.71e-07/0.8966, allocations: 0 / 0.7755 GB, free: 5.895 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001054/0.8977, allocations: 224 kB / 0.7757 GB, free: 5.676 MB / 0.5919 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.0002811/0.898, allocations: 119.1 kB / 0.7758 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002452/0.9005, allocations: 1.268 MB / 0.777 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.9005, allocations: 4.062 kB / 0.777 GB, free: 4.223 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001321/0.9018, allocations: 0.8934 MB / 0.7779 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/0.903, allocations: 195.9 kB / 0.7781 GB, free: 3.09 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002909/0.9059, allocations: 1.64 MB / 0.7797 GB, free: 1.402 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009565/0.9069, allocations: 1.009 MB / 0.7807 GB, free: 376 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004747/0.9074, allocations: 118 kB / 0.7808 GB, free: 256 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.9075, allocations: 51.38 kB / 0.7809 GB, free: 204 kB / 0.5919 GB Notification: Performance of SimCode: time 5.61e-07/0.9075, allocations: 0 / 0.7809 GB, free: 204 kB / 0.5919 GB Notification: Performance of Templates: time 0.02204/0.9296, allocations: 10.76 MB / 0.7914 GB, free: 5.559 MB / 0.6075 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)