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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001066, 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.00147/0.001471, allocations: 191.2 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.998/1.998, allocations: 205.1 MB / 222 MB, free: 4.777 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.748/1.748, allocations: 251.6 MB / 0.5088 GB, free: 3.367 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.001424/0.001424, allocations: 64.47 kB / 0.6216 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6634/0.6648, allocations: 104.7 MB / 0.7238 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01579/0.6807, allocations: 10.79 MB / 0.7344 GB, free: 2.449 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01585/0.6966, allocations: 8.859 MB / 0.743 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002633/0.6993, allocations: 55.69 kB / 0.7431 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004661/0.7041, allocations: 1.565 MB / 0.7446 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007106/0.7112, allocations: 1.398 MB / 0.7459 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003043/0.7143, allocations: 0.6096 MB / 0.7465 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005786/0.7201, allocations: 2.905 MB / 0.7494 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002867/0.723, allocations: 1.325 MB / 0.7507 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003109/0.7261, allocations: 0.8831 MB / 0.7515 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002642/0.7288, allocations: 1.027 MB / 0.7525 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002325/0.729, allocations: 88 kB / 0.7526 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002807/0.7318, allocations: 0.9123 MB / 0.7535 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007771/0.7326, allocations: 0.5179 MB / 0.754 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001405/0.734, allocations: 0.8314 MB / 0.7548 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003764/0.7378, allocations: 2.542 MB / 0.7573 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.7378, allocations: 0 / 0.7573 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.246e-06/0.7378, allocations: 3.984 kB / 0.7573 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.119e-05/0.7379, allocations: 8 kB / 0.7573 GB, free: 10.82 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.004373/0.7422, allocations: 2.014 MB / 0.7593 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 8.317e-05/0.7423, allocations: 8.031 kB / 0.7593 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01091/0.7533, allocations: 2.054 MB / 0.7613 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003388/0.7567, allocations: 1.123 MB / 0.7624 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.016e-05/0.7568, allocations: 90.69 kB / 0.7625 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002812/0.7571, allocations: 120 kB / 0.7626 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005833/0.763, allocations: 2.482 MB / 0.765 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.067e-05/0.7631, allocations: 3.938 kB / 0.765 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001618/0.7633, allocations: 55.98 kB / 0.7651 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003729/0.7636, allocations: 126.1 kB / 0.7652 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007023/0.7707, allocations: 2.541 MB / 0.7677 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01899/0.7897, allocations: 10.06 MB / 0.7775 GB, free: 5.215 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006082/0.7959, allocations: 1.956 MB / 0.7794 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002678/0.7987, allocations: 0.966 MB / 0.7804 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.962e-05/0.7988, allocations: 12.38 kB / 0.7804 GB, free: 2.246 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.631e-05/0.7989, allocations: 43 kB / 0.7804 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 5.861e-06/0.7989, allocations: 0 / 0.7804 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of matching and sorting (n=81): time 0.03471/0.8336, allocations: 8.718 MB / 0.7889 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.441e-05/0.8337, allocations: 64 kB / 0.789 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002286/0.836, allocations: 1.097 MB / 0.7901 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001532/0.8362, allocations: 37.7 kB / 0.7901 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006992/0.8369, allocations: 0.7417 MB / 0.7908 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003694/0.8373, allocations: 276 kB / 0.7911 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004847/0.8378, allocations: 206.4 kB / 0.7913 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.838, allocations: 345.9 kB / 0.7916 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002742/0.8407, allocations: 1.067 MB / 0.7927 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002996/0.8438, allocations: 1.317 MB / 0.7939 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005778/0.8496, allocations: 2.378 MB / 0.7963 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.514e-05/0.8496, allocations: 4 kB / 0.7963 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0096/0.8592, allocations: 3.269 MB / 0.7995 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.634e-05/0.8593, allocations: 12.16 kB / 0.7995 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.5e-05/0.8593, allocations: 4 kB / 0.7995 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003202/0.8625, allocations: 0.7949 MB / 0.8003 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001843/0.8644, allocations: 419.2 kB / 0.8007 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01952/0.884, allocations: 14.7 MB / 0.815 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002798/0.8868, allocations: 299.6 kB / 0.8153 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003475/0.8872, allocations: 47.97 kB / 0.8153 GB, free: 12.99 MB / 0.6387 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.001281/0.8885, allocations: 409.3 kB / 0.8157 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005873/0.8891, allocations: 146.3 kB / 0.8159 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008834/0.8979, allocations: 3.202 MB / 0.819 GB, free: 9.195 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-05/0.898, allocations: 8 kB / 0.819 GB, free: 9.188 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-05/0.898, allocations: 8 kB / 0.819 GB, free: 9.18 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/0.8981, allocations: 3.984 kB / 0.819 GB, free: 9.176 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01296/0.911, allocations: 4.901 MB / 0.8238 GB, free: 4.148 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/0.9111, allocations: 0 / 0.8238 GB, free: 4.148 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00163/0.9127, allocations: 359.7 kB / 0.8241 GB, free: 3.797 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002882/0.9157, allocations: 0.6936 MB / 0.8248 GB, free: 3.078 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001682/0.9159, allocations: 35.97 kB / 0.8249 GB, free: 3.043 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01812/0.934, allocations: 14.31 MB / 0.8388 GB, free: 3.664 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.909e-06/0.9341, allocations: 7.938 kB / 0.8388 GB, free: 3.656 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008504/0.9426, allocations: 3.038 MB / 0.8418 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/0.9437, allocations: 387.1 kB / 0.8422 GB, free: 144 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005457/0.9442, allocations: 23.94 kB / 0.8422 GB, free: 120 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002172/0.9464, allocations: 287.6 kB / 0.8425 GB, free: 15.84 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004114/0.9469, allocations: 84.48 kB / 0.8425 GB, free: 15.75 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001395/0.947, allocations: 43.95 kB / 0.8426 GB, free: 15.71 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001568/0.9486, allocations: 0.7327 MB / 0.8433 GB, free: 14.98 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.41e-07/0.9486, allocations: 0 / 0.8433 GB, free: 14.98 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002544/0.9512, allocations: 435.9 kB / 0.8437 GB, free: 14.55 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00038/0.9516, allocations: 131.1 kB / 0.8438 GB, free: 14.41 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.008927/0.9605, allocations: 3.621 MB / 0.8474 GB, free: 10.69 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/0.9606, allocations: 3.938 kB / 0.8474 GB, free: 10.68 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005072/0.9656, allocations: 2.36 MB / 0.8497 GB, free: 8.219 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003739/0.9694, allocations: 490.1 kB / 0.8502 GB, free: 7.75 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009601/0.979, allocations: 4.059 MB / 0.8541 GB, free: 3.637 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001985/0.9811, allocations: 1.388 MB / 0.8555 GB, free: 2.215 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002137/0.9832, allocations: 379.8 kB / 0.8558 GB, free: 1.84 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005215/0.9838, allocations: 107.4 kB / 0.8559 GB, free: 1.738 MB / 0.67 GB Notification: Performance of SimCode: time 1.373e-06/0.9838, allocations: 4 kB / 0.8559 GB, free: 1.734 MB / 0.67 GB Notification: Performance of Templates: time 0.06214/1.046, allocations: 29.3 MB / 0.8846 GB, free: 4.809 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)