Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.001331/0.001331, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001795/0.001795, allocations: 186.6 kB / 16.25 MB, free: 6.621 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.794/1.794, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.887/1.887, allocations: 292.2 MB / 0.5485 GB, free: 13.61 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.001506/0.001506, allocations: 69.94 kB / 0.671 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3299, allocations: 114.5 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01493/0.3449, allocations: 10.77 MB / 0.7934 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01548/0.3604, allocations: 8.774 MB / 0.8019 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002952/0.3635, allocations: 51.69 kB / 0.802 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.005285/0.3688, allocations: 1.576 MB / 0.8035 GB, free: 8.656 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007928/0.3767, allocations: 1.392 MB / 0.8049 GB, free: 7.262 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002917/0.3797, allocations: 0.6111 MB / 0.8055 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005064/0.3847, allocations: 2.294 MB / 0.8077 GB, free: 4.352 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003078/0.3878, allocations: 1.551 MB / 0.8092 GB, free: 2.766 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002975/0.3908, allocations: 1 MB / 0.8102 GB, free: 1.762 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00297/0.3938, allocations: 1.062 MB / 0.8113 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0009413/0.3948, allocations: 136 kB / 0.8114 GB, free: 0.5625 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003331/0.3982, allocations: 0.7994 MB / 0.8122 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001373/0.3996, allocations: 0.5647 MB / 0.8127 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002395/0.402, allocations: 0.89 MB / 0.8136 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005619/0.4076, allocations: 2.585 MB / 0.8161 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.4076, allocations: 0 / 0.8161 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.484e-06/0.4077, allocations: 4 kB / 0.8161 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001403/0.4078, allocations: 4 kB / 0.8161 GB, free: 11.7 MB / 0.6387 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.005892/0.4137, allocations: 2.02 MB / 0.8181 GB, free: 9.625 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/0.4138, allocations: 8.031 kB / 0.8181 GB, free: 9.617 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01132/0.4251, allocations: 2.046 MB / 0.8201 GB, free: 7.566 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003477/0.4286, allocations: 1.122 MB / 0.8212 GB, free: 6.387 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001305/0.4288, allocations: 90.69 kB / 0.8213 GB, free: 6.297 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006224/0.4294, allocations: 116.1 kB / 0.8214 GB, free: 6.184 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007004/0.4365, allocations: 2.482 MB / 0.8238 GB, free: 3.551 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.435e-05/0.4366, allocations: 7.844 kB / 0.8238 GB, free: 3.543 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002075/0.4368, allocations: 55.98 kB / 0.8239 GB, free: 3.488 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003955/0.4372, allocations: 130.1 kB / 0.824 GB, free: 3.359 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007488/0.4447, allocations: 2.537 MB / 0.8265 GB, free: 0.8125 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01871/0.4635, allocations: 10.08 MB / 0.8363 GB, free: 6.074 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00618/0.4697, allocations: 1.952 MB / 0.8382 GB, free: 4.09 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002764/0.4725, allocations: 0.9698 MB / 0.8392 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.256e-05/0.4726, allocations: 8.438 kB / 0.8392 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.982e-05/0.4727, allocations: 39 kB / 0.8392 GB, free: 3.062 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=53): time 5.521e-06/0.4727, allocations: 0 / 0.8392 GB, free: 3.062 MB / 0.6544 GB Notification: Performance of matching and sorting (n=81): time 0.03054/0.5032, allocations: 8.711 MB / 0.8477 GB, free: 10.29 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.5033, allocations: 64 kB / 0.8478 GB, free: 10.21 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001566/0.5049, allocations: 1.104 MB / 0.8489 GB, free: 9.09 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001208/0.505, allocations: 41.69 kB / 0.8489 GB, free: 9.043 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005376/0.5056, allocations: 0.7341 MB / 0.8496 GB, free: 8.301 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002768/0.5059, allocations: 283.9 kB / 0.8499 GB, free: 8.02 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003795/0.5063, allocations: 202.4 kB / 0.8501 GB, free: 7.816 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.5064, allocations: 345.9 kB / 0.8504 GB, free: 7.473 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002734/0.5092, allocations: 1.071 MB / 0.8515 GB, free: 6.398 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002889/0.5121, allocations: 1.313 MB / 0.8527 GB, free: 4.988 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005599/0.5177, allocations: 2.378 MB / 0.8551 GB, free: 2.52 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/0.5177, allocations: 4 kB / 0.8551 GB, free: 2.516 MB / 0.67 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009076/0.5268, allocations: 3.277 MB / 0.8583 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.424e-05/0.5269, allocations: 14.66 kB / 0.8583 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.5269, allocations: 4 kB / 0.8583 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002735/0.5296, allocations: 0.7911 MB / 0.8591 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001925/0.5316, allocations: 423.2 kB / 0.8595 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01708/0.5487, allocations: 15.92 MB / 0.875 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002458/0.5512, allocations: 287.5 kB / 0.8753 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/0.5513, allocations: 55.95 kB / 0.8753 GB, free: 12.58 MB / 0.7012 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.0008457/0.5522, allocations: 404.7 kB / 0.8757 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002956/0.5525, allocations: 146.3 kB / 0.8759 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008471/0.561, allocations: 3.195 MB / 0.879 GB, free: 8.797 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.561, allocations: 11.94 kB / 0.879 GB, free: 8.785 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.564e-05/0.561, allocations: 8 kB / 0.879 GB, free: 8.777 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.5611, allocations: 7.984 kB / 0.879 GB, free: 8.77 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01108/0.5721, allocations: 4.905 MB / 0.8838 GB, free: 3.742 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/0.5722, allocations: 12.06 kB / 0.8838 GB, free: 3.73 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001548/0.5737, allocations: 347.4 kB / 0.8841 GB, free: 3.391 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002307/0.5761, allocations: 0.7169 MB / 0.8848 GB, free: 2.648 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.904e-05/0.5762, allocations: 27.97 kB / 0.8849 GB, free: 2.621 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01628/0.5925, allocations: 15.54 MB / 0.9 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.5925, allocations: 4 kB / 0.9001 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008845/0.6014, allocations: 3.042 MB / 0.903 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000993/0.6024, allocations: 383.2 kB / 0.9034 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002154/0.6027, allocations: 20 kB / 0.9034 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001778/0.6044, allocations: 295.4 kB / 0.9037 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000376/0.6048, allocations: 76.5 kB / 0.9038 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/0.605, allocations: 43.95 kB / 0.9038 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001204/0.6062, allocations: 0.7366 MB / 0.9045 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6062, allocations: 3.938 kB / 0.9045 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001746/0.6079, allocations: 432 kB / 0.9049 GB, free: 12.85 MB / 0.7325 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.0003202/0.6083, allocations: 131.1 kB / 0.9051 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009421/0.6177, allocations: 3.766 MB / 0.9087 GB, free: 8.84 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.365e-05/0.6178, allocations: 0 / 0.9087 GB, free: 8.84 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004935/0.6227, allocations: 2.371 MB / 0.9111 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002564/0.6253, allocations: 0.5253 MB / 0.9116 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00823/0.6336, allocations: 4.054 MB / 0.9155 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001346/0.635, allocations: 1.392 MB / 0.9169 GB, free: 328 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.4607/1.096, allocations: 368.7 kB / 0.9172 GB, free: 126.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007718/1.097, allocations: 106.6 kB / 0.9173 GB, free: 126.4 MB / 0.7325 GB Notification: Performance of SimCode: time 1.403e-06/1.097, allocations: 0 / 0.9173 GB, free: 126.4 MB / 0.7325 GB Notification: Performance of Templates: time 0.06659/1.163, allocations: 30.45 MB / 0.9471 GB, free: 118.7 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)