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.001234/0.001234, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001301/0.001301, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.978/1.978, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.609/1.609, allocations: 251.9 MB / 0.51 GB, free: 4.883 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.0005258/0.0005259, allocations: 12 kB / 0.6241 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6175/0.618, allocations: 106.3 MB / 0.728 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01066/0.6287, allocations: 9.249 MB / 0.737 GB, free: 2.129 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01316/0.6419, allocations: 8.047 MB / 0.7449 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001927/0.6439, allocations: 51.62 kB / 0.7449 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001158/0.6451, allocations: 254.3 kB / 0.7452 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005268/0.6503, allocations: 1.258 MB / 0.7464 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001865/0.6522, allocations: 467 kB / 0.7468 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003318/0.6556, allocations: 1.392 MB / 0.7482 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003841/0.6594, allocations: 1.766 MB / 0.7499 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002305/0.6617, allocations: 0.7199 MB / 0.7506 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001451/0.6632, allocations: 0.7393 MB / 0.7514 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000168/0.6634, allocations: 60 kB / 0.7514 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/0.6646, allocations: 411.4 kB / 0.7518 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005197/0.6652, allocations: 438.7 kB / 0.7522 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005577/0.6657, allocations: 340.8 kB / 0.7525 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002514/0.6683, allocations: 1.903 MB / 0.7544 GB, free: 248 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.6683, allocations: 3.938 kB / 0.7544 GB, free: 244 kB / 0.5606 GB Notification: Performance of FrontEnd: time 2.124e-06/0.6683, allocations: 4 kB / 0.7544 GB, free: 240 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.062e-05/0.6683, allocations: 0 / 0.7544 GB, free: 240 kB / 0.5606 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.003376/0.6717, allocations: 1.726 MB / 0.7561 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.6718, allocations: 8.031 kB / 0.7561 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01106/0.6828, allocations: 2.12 MB / 0.7582 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003032/0.6859, allocations: 1.079 MB / 0.7592 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.223e-05/0.686, allocations: 90.31 kB / 0.7593 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002557/0.6863, allocations: 119.9 kB / 0.7594 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005754/0.6921, allocations: 2.482 MB / 0.7619 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.085e-05/0.6921, allocations: 11.94 kB / 0.7619 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001497/0.6923, allocations: 51.98 kB / 0.7619 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003464/0.6926, allocations: 126.1 kB / 0.762 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00729/0.6999, allocations: 2.588 MB / 0.7646 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01712/0.7171, allocations: 10.11 MB / 0.7744 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006643/0.7238, allocations: 2.011 MB / 0.7764 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.478e-05/0.7238, allocations: 8.438 kB / 0.7764 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.7239, allocations: 39 kB / 0.7764 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 2.645e-06/0.7239, allocations: 0 / 0.7764 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of matching and sorting (n=81): time 0.03197/0.7559, allocations: 8.77 MB / 0.785 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.603e-05/0.756, allocations: 60.06 kB / 0.7851 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00174/0.7578, allocations: 1.085 MB / 0.7861 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002732/0.758, allocations: 41.7 kB / 0.7862 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007867/0.7588, allocations: 0.734 MB / 0.7869 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003576/0.7592, allocations: 280 kB / 0.7871 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.307e-05/0.7593, allocations: 20 kB / 0.7872 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002651/0.7596, allocations: 349.9 kB / 0.7875 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002943/0.7625, allocations: 1.091 MB / 0.7886 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003398/0.7659, allocations: 1.317 MB / 0.7898 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003068/0.769, allocations: 1.15 MB / 0.791 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.769, allocations: 4 kB / 0.791 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0092/0.7782, allocations: 3.3 MB / 0.7942 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.872e-05/0.7783, allocations: 8 kB / 0.7942 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.527e-05/0.7784, allocations: 8 kB / 0.7942 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002703/0.7811, allocations: 0.7839 MB / 0.795 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00192/0.7831, allocations: 435.2 kB / 0.7954 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01688/0.8, allocations: 14.97 MB / 0.81 GB, free: 4.973 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002697/0.8027, allocations: 303.6 kB / 0.8103 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001732/0.8029, allocations: 59.91 kB / 0.8104 GB, free: 4.617 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 2,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008862/0.8038, allocations: 397.5 kB / 0.8107 GB, free: 4.219 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002237/0.804, allocations: 142.3 kB / 0.8109 GB, free: 4.078 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008764/0.8128, allocations: 3.23 MB / 0.814 GB, free: 0.8086 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.8129, allocations: 15.95 kB / 0.814 GB, free: 0.793 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/0.8129, allocations: 8 kB / 0.8141 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.8129, allocations: 3.984 kB / 0.8141 GB, free: 0.7812 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01124/0.8241, allocations: 4.94 MB / 0.8189 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.8242, allocations: 8 kB / 0.8189 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001641/0.8258, allocations: 363.7 kB / 0.8192 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002283/0.8281, allocations: 0.6974 MB / 0.8199 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.944e-05/0.8282, allocations: 31.97 kB / 0.8199 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0158/0.844, allocations: 14.61 MB / 0.8342 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.8441, allocations: 0 / 0.8342 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008407/0.8525, allocations: 3.225 MB / 0.8374 GB, free: 7.531 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/0.8535, allocations: 391.1 kB / 0.8377 GB, free: 7.129 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002239/0.8538, allocations: 24 kB / 0.8378 GB, free: 7.105 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001822/0.8556, allocations: 299.5 kB / 0.838 GB, free: 6.812 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002904/0.8559, allocations: 84.48 kB / 0.8381 GB, free: 6.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.935e-05/0.856, allocations: 35.97 kB / 0.8382 GB, free: 6.695 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001107/0.8571, allocations: 0.7288 MB / 0.8389 GB, free: 5.965 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.51e-07/0.8571, allocations: 0 / 0.8389 GB, free: 5.965 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00169/0.8588, allocations: 436 kB / 0.8393 GB, free: 5.539 MB / 0.6544 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 (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003921/0.8592, allocations: 131.8 kB / 0.8394 GB, free: 5.398 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.009097/0.8683, allocations: 3.652 MB / 0.843 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/0.8684, allocations: 0 / 0.843 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.005406/0.8738, allocations: 2.387 MB / 0.8453 GB, free: 15.15 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002396/0.8762, allocations: 469.9 kB / 0.8458 GB, free: 14.69 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008116/0.8844, allocations: 3.943 MB / 0.8496 GB, free: 10.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001331/0.8858, allocations: 1.419 MB / 0.851 GB, free: 9.242 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001784/0.8875, allocations: 375.9 kB / 0.8514 GB, free: 8.871 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003382/0.8879, allocations: 103.4 kB / 0.8515 GB, free: 8.77 MB / 0.67 GB Notification: Performance of SimCode: time 1.243e-06/0.8879, allocations: 0 / 0.8515 GB, free: 8.77 MB / 0.67 GB Notification: Performance of Templates: time 0.05/0.9379, allocations: 28.1 MB / 0.8789 GB, free: 13.06 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: