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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00163/0.001631, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.00173/0.00173, allocations: 193.2 kB / 16.25 MB, free: 6.637 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.254/1.254, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.574/1.574, allocations: 292.3 MB / 0.5486 GB, free: 13.6 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.001266/0.001266, allocations: 72 kB / 0.6711 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1689, allocations: 114.5 MB / 0.783 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01136/0.1803, allocations: 10.79 MB / 0.7935 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01053/0.1908, allocations: 8.77 MB / 0.8021 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004939/0.1913, allocations: 51.69 kB / 0.8021 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003425/0.1947, allocations: 1.576 MB / 0.8037 GB, free: 8.523 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002522/0.1973, allocations: 1.387 MB / 0.805 GB, free: 7.133 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.1985, allocations: 0.6162 MB / 0.8056 GB, free: 6.516 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001802/0.2003, allocations: 2.298 MB / 0.8079 GB, free: 4.211 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001576/0.2019, allocations: 1.539 MB / 0.8094 GB, free: 2.637 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009621/0.2028, allocations: 1.004 MB / 0.8104 GB, free: 1.629 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00101/0.2039, allocations: 1.055 MB / 0.8114 GB, free: 0.5703 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001621/0.204, allocations: 140 kB / 0.8115 GB, free: 444 kB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001006/0.205, allocations: 0.7994 MB / 0.8123 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004344/0.2055, allocations: 0.5608 MB / 0.8128 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006912/0.2062, allocations: 0.89 MB / 0.8137 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001995/0.2082, allocations: 2.585 MB / 0.8162 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.2082, allocations: 0 / 0.8162 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2082, allocations: 3.938 kB / 0.8162 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.55e-05/0.2082, allocations: 3.984 kB / 0.8162 GB, free: 11.57 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.002626/0.2109, allocations: 2.014 MB / 0.8182 GB, free: 9.504 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.2109, allocations: 8.031 kB / 0.8182 GB, free: 9.496 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002037/0.2111, allocations: 194.1 kB / 0.8184 GB, free: 9.297 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01014/0.2213, allocations: 2.054 MB / 0.8204 GB, free: 7.238 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/0.2228, allocations: 1.122 MB / 0.8215 GB, free: 6.059 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.537e-05/0.2229, allocations: 86.69 kB / 0.8216 GB, free: 5.973 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001982/0.2231, allocations: 119.9 kB / 0.8217 GB, free: 5.855 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004758/0.2278, allocations: 2.482 MB / 0.8241 GB, free: 3.223 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.541e-05/0.2279, allocations: 7.906 kB / 0.8241 GB, free: 3.215 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001395/0.228, allocations: 55.92 kB / 0.8242 GB, free: 3.16 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003114/0.2283, allocations: 134.1 kB / 0.8243 GB, free: 3.027 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006445/0.2348, allocations: 2.537 MB / 0.8268 GB, free: 492 kB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01095/0.2457, allocations: 10.08 MB / 0.8366 GB, free: 5.742 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005611/0.2514, allocations: 1.944 MB / 0.8385 GB, free: 3.77 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002486/0.2539, allocations: 0.9776 MB / 0.8395 GB, free: 2.789 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.126e-05/0.2539, allocations: 8.375 kB / 0.8395 GB, free: 2.781 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.2539, allocations: 43 kB / 0.8395 GB, free: 2.73 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=53): time 1.804e-06/0.254, allocations: 0 / 0.8395 GB, free: 2.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=81): time 0.02721/0.2812, allocations: 8.699 MB / 0.848 GB, free: 9.969 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.2812, allocations: 64 kB / 0.8481 GB, free: 9.891 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.2823, allocations: 1.116 MB / 0.8492 GB, free: 8.758 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.468e-05/0.2824, allocations: 41.7 kB / 0.8492 GB, free: 8.711 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000434/0.2829, allocations: 0.7302 MB / 0.8499 GB, free: 7.973 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000221/0.2831, allocations: 283.9 kB / 0.8502 GB, free: 7.691 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000353/0.2835, allocations: 198.4 kB / 0.8504 GB, free: 7.492 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.2836, allocations: 341.9 kB / 0.8507 GB, free: 7.152 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002632/0.2862, allocations: 1.075 MB / 0.8518 GB, free: 6.074 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002744/0.289, allocations: 1.305 MB / 0.853 GB, free: 4.672 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005297/0.2943, allocations: 2.378 MB / 0.8554 GB, free: 2.203 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.2943, allocations: 7.938 kB / 0.8554 GB, free: 2.195 MB / 0.67 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.007737/0.302, allocations: 3.276 MB / 0.8586 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.302, allocations: 8 kB / 0.8586 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.3021, allocations: 8 kB / 0.8586 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002502/0.3046, allocations: 0.7954 MB / 0.8594 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/0.3063, allocations: 419.2 kB / 0.8598 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01412/0.3204, allocations: 15.93 MB / 0.8753 GB, free: 12.58 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/0.3223, allocations: 291.5 kB / 0.8756 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.3224, allocations: 48.03 kB / 0.8756 GB, free: 12.25 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.0005573/0.323, allocations: 404.2 kB / 0.876 GB, free: 11.85 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002181/0.3232, allocations: 142.3 kB / 0.8762 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007896/0.3311, allocations: 3.206 MB / 0.8793 GB, free: 8.461 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.3311, allocations: 8 kB / 0.8793 GB, free: 8.453 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.3311, allocations: 8 kB / 0.8793 GB, free: 8.445 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.3311, allocations: 3.984 kB / 0.8793 GB, free: 8.441 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009703/0.3409, allocations: 4.912 MB / 0.8841 GB, free: 3.41 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.3409, allocations: 0 / 0.8841 GB, free: 3.41 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001502/0.3424, allocations: 355.4 kB / 0.8845 GB, free: 3.062 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002154/0.3445, allocations: 0.7017 MB / 0.8851 GB, free: 2.336 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.958e-05/0.3446, allocations: 35.97 kB / 0.8852 GB, free: 2.301 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01372/0.3584, allocations: 15.54 MB / 0.9003 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.3584, allocations: 4 kB / 0.9004 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0073/0.3657, allocations: 3.046 MB / 0.9033 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004849/0.3662, allocations: 379.2 kB / 0.9037 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002112/0.3664, allocations: 20 kB / 0.9037 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001691/0.3681, allocations: 291.6 kB / 0.904 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/0.3683, allocations: 84.48 kB / 0.9041 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.171e-05/0.3684, allocations: 43.97 kB / 0.9041 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008406/0.3692, allocations: 0.7366 MB / 0.9048 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3693, allocations: 0 / 0.9048 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001171/0.3704, allocations: 432 kB / 0.9052 GB, free: 12.53 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.007672/0.3781, allocations: 3.631 MB / 0.9088 GB, free: 8.805 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00783/0.3859, allocations: 3.758 MB / 0.9125 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.386, allocations: 0 / 0.9125 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004477/0.3904, allocations: 2.368 MB / 0.9148 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001956/0.3924, allocations: 0.5275 MB / 0.9153 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3032/0.6956, allocations: 17.1 MB / 0.932 GB, free: 124.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008217/0.6965, allocations: 1.387 MB / 0.9333 GB, free: 123.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001423/0.6979, allocations: 378.2 kB / 0.9337 GB, free: 123.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006732/0.6986, allocations: 0.596 MB / 0.9343 GB, free: 123 MB / 0.7325 GB Notification: Performance of SimCode: time 7.72e-07/0.6986, allocations: 0 / 0.9343 GB, free: 123 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.873/1.572, allocations: 41.34 MB / 0.9746 GB, free: 100.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001849/1.572, allocations: 223 kB / 0.9749 GB, free: 99.89 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.431/4.003, allocations: 0 / 0.9749 GB, free: 99.89 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)