Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_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_1.6_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.0008602/0.0008605, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005593/0.005593, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.86/2.86, allocations: 473.4 MB / 0.7469 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003753/0.0003753, allocations: 7.75 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3314, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.0122/0.3437, allocations: 10.38 MB / 1.084 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0125/0.3562, allocations: 8.675 MB / 1.093 GB, free: 4.43 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001323/0.3576, allocations: 51.62 kB / 1.093 GB, free: 4.379 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000861/0.3584, allocations: 285.8 kB / 1.093 GB, free: 4.098 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00412/0.3626, allocations: 1.386 MB / 1.094 GB, free: 2.707 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001843/0.3644, allocations: 0.6234 MB / 1.095 GB, free: 2.086 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002844/0.3673, allocations: 2.891 MB / 1.098 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003118/0.3704, allocations: 1.965 MB / 1.1 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001417/0.3718, allocations: 0.8167 MB / 1.101 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001201/0.3731, allocations: 0.9375 MB / 1.101 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001174/0.3732, allocations: 60 kB / 1.102 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001725/0.3749, allocations: 0.885 MB / 1.102 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000488/0.3754, allocations: 482.4 kB / 1.103 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008264/0.3763, allocations: 0.8019 MB / 1.104 GB, free: 9.172 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002607/0.3789, allocations: 2.487 MB / 1.106 GB, free: 6.676 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3789, allocations: 0 / 1.106 GB, free: 6.676 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.886e-06/0.3789, allocations: 0 / 1.106 GB, free: 6.676 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.278e-05/0.3789, allocations: 4 kB / 1.106 GB, free: 6.672 MB / 0.8575 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.002768/0.3817, allocations: 1.714 MB / 1.108 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.3818, allocations: 12.03 kB / 1.108 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01097/0.3927, allocations: 2.109 MB / 1.11 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001992/0.3947, allocations: 1.115 MB / 1.111 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.563e-05/0.3948, allocations: 98.62 kB / 1.111 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002359/0.3951, allocations: 128 kB / 1.111 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00553/0.4006, allocations: 2.498 MB / 1.114 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.92e-05/0.4007, allocations: 7.938 kB / 1.114 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001554/0.4008, allocations: 55.98 kB / 1.114 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003429/0.4012, allocations: 126.1 kB / 1.114 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007264/0.4085, allocations: 2.596 MB / 1.116 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01342/0.4219, allocations: 10.11 MB / 1.126 GB, free: 1.172 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009013/0.4309, allocations: 2.009 MB / 1.128 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003932/0.4349, allocations: 0.9933 MB / 1.129 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.942e-05/0.435, allocations: 4.438 kB / 1.129 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.695e-05/0.435, allocations: 42.98 kB / 1.129 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=53): time 4.548e-06/0.435, allocations: 3.938 kB / 1.129 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of matching and sorting (n=81): time 0.04317/0.4782, allocations: 8.777 MB / 1.138 GB, free: 5.242 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.59e-05/0.4783, allocations: 60.06 kB / 1.138 GB, free: 5.168 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002054/0.4804, allocations: 1.097 MB / 1.139 GB, free: 4.055 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001567/0.4806, allocations: 41.69 kB / 1.139 GB, free: 4.008 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007406/0.4813, allocations: 0.734 MB / 1.14 GB, free: 3.266 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000377/0.4817, allocations: 284 kB / 1.14 GB, free: 2.984 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002442/0.482, allocations: 77.67 kB / 1.14 GB, free: 2.902 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.4821, allocations: 345.9 kB / 1.14 GB, free: 2.559 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00426/0.4864, allocations: 1.091 MB / 1.141 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004399/0.4908, allocations: 1.329 MB / 1.143 GB, free: 44 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00919/0.5, allocations: 2.417 MB / 1.145 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-05/0.5001, allocations: 4 kB / 1.145 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01418/0.5143, allocations: 3.315 MB / 1.148 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.3e-05/0.5144, allocations: 8 kB / 1.148 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-05/0.5145, allocations: 8.875 kB / 1.148 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004061/0.5185, allocations: 0.7988 MB / 1.149 GB, free: 9.34 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002707/0.5213, allocations: 423.2 kB / 1.149 GB, free: 8.926 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02154/0.5428, allocations: 14.71 MB / 1.164 GB, free: 9.145 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003272/0.5462, allocations: 303.5 kB / 1.164 GB, free: 8.848 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003025/0.5465, allocations: 51.97 kB / 1.164 GB, free: 8.797 MB / 0.92 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.5478, allocations: 401.5 kB / 1.165 GB, free: 8.395 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005238/0.5483, allocations: 142.3 kB / 1.165 GB, free: 8.254 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01179/0.5601, allocations: 3.253 MB / 1.168 GB, free: 4.961 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.5602, allocations: 8 kB / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.232e-05/0.5602, allocations: 4 kB / 1.168 GB, free: 4.949 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.5602, allocations: 7.984 kB / 1.168 GB, free: 4.941 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0115/0.5717, allocations: 4.947 MB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.298e-05/0.5718, allocations: 8 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001716/0.5735, allocations: 367.7 kB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002435/0.5759, allocations: 0.7015 MB / 1.174 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.294e-05/0.5761, allocations: 31.97 kB / 1.174 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01459/0.5907, allocations: 14.34 MB / 1.188 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.5907, allocations: 8.125 kB / 1.188 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008476/0.5992, allocations: 3.081 MB / 1.191 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007553/0.5999, allocations: 387.1 kB / 1.191 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003296/0.6003, allocations: 31.88 kB / 1.191 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00207/0.6024, allocations: 299.5 kB / 1.191 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002793/0.6027, allocations: 76.5 kB / 1.192 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/0.6028, allocations: 39.95 kB / 1.192 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001156/0.6039, allocations: 0.7366 MB / 1.192 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.8e-07/0.6039, allocations: 4 kB / 1.192 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001669/0.6056, allocations: 435.9 kB / 1.193 GB, free: 10.16 MB / 0.9512 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.0002951/0.6059, allocations: 136.4 kB / 1.193 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.009087/0.615, allocations: 3.652 MB / 1.196 GB, free: 6.262 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.615, allocations: 0 / 1.196 GB, free: 6.262 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.005154/0.6202, allocations: 2.383 MB / 1.199 GB, free: 3.77 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003284/0.6235, allocations: 488.2 kB / 1.199 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00843/0.632, allocations: 4.102 MB / 1.203 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00127/0.6332, allocations: 1.392 MB / 1.205 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001653/0.6349, allocations: 379.9 kB / 1.205 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004065/0.6353, allocations: 107.4 kB / 1.205 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of SimCode: time 1.182e-06/0.6353, allocations: 0 / 1.205 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of Templates: time 0.04801/0.6834, allocations: 28.86 MB / 1.233 GB, free: 0.7578 MB / 0.9825 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)