Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.461/2.461, allocations: 284.9 MB / 292.4 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001401/0.001401, allocations: 164.9 kB / 360.6 MB, free: 7.273 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.285/2.285, allocations: 205.3 MB / 0.6191 GB, free: 12.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001021/0.00102, allocations: 98.45 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.486e-05/2.485e-05, allocations: 4 kB / 0.8509 GB, free: 3.312 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7939/0.794, allocations: 115.3 MB / 0.9634 GB, free: 78.73 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2817/1.076, allocations: 163.5 MB / 1.123 GB, free: 9.023 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003843/1.076, allocations: 91.94 kB / 1.123 GB, free: 8.934 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.1553/1.231, allocations: 37.11 MB / 1.159 GB, free: 3.613 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.745e-06/1.231, allocations: 0 / 1.159 GB, free: 3.613 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 7.143e-05/1.232, allocations: 23.98 kB / 1.159 GB, free: 3.59 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002325/1.234, allocations: 0.8746 MB / 1.16 GB, free: 2.672 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/1.234, allocations: 8.031 kB / 1.16 GB, free: 2.664 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002522/1.236, allocations: 220 kB / 1.161 GB, free: 2.449 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001773/1.238, allocations: 0.5504 MB / 1.161 GB, free: 1.855 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.356e-05/1.238, allocations: 20 kB / 1.161 GB, free: 1.836 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/1.239, allocations: 40 kB / 1.161 GB, free: 1.797 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001565/1.24, allocations: 0.5459 MB / 1.162 GB, free: 1.25 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002119/1.242, allocations: 0.9834 MB / 1.163 GB, free: 124 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.933e-05/1.242, allocations: 9.938 kB / 1.163 GB, free: 116 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/1.242, allocations: 4 kB / 1.163 GB, free: 112 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001328/1.243, allocations: 57.28 kB / 1.163 GB, free: 52 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007987/1.251, allocations: 5.641 MB / 1.168 GB, free: 9.992 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/1.252, allocations: 0.5756 MB / 1.169 GB, free: 9.371 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001078/1.253, allocations: 390.1 kB / 1.169 GB, free: 8.988 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.948e-05/1.253, allocations: 8 kB / 1.169 GB, free: 8.98 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/1.253, allocations: 30.56 kB / 1.169 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=41): time 5.24e-06/1.253, allocations: 0 / 1.169 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of matching and sorting (n=42): time 0.003624/1.257, allocations: 1.158 MB / 1.17 GB, free: 7.762 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/1.257, allocations: 55.41 kB / 1.17 GB, free: 7.695 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005738/1.258, allocations: 333.2 kB / 1.171 GB, free: 7.363 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.951e-05/1.258, allocations: 29.7 kB / 1.171 GB, free: 7.328 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003385/1.258, allocations: 379 kB / 1.171 GB, free: 6.953 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.000181/1.258, allocations: 141.9 kB / 1.171 GB, free: 6.812 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/1.258, allocations: 3.938 kB / 1.171 GB, free: 6.809 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001731/1.258, allocations: 364.3 kB / 1.172 GB, free: 6.445 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005174/1.259, allocations: 221 kB / 1.172 GB, free: 6.23 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006868/1.26, allocations: 404.5 kB / 1.172 GB, free: 5.754 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006789/1.26, allocations: 304.3 kB / 1.172 GB, free: 5.457 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/1.26, allocations: 0 / 1.172 GB, free: 5.457 MB / 0.7761 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002863/1.263, allocations: 0.929 MB / 1.173 GB, free: 4.508 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/1.263, allocations: 7.984 kB / 1.173 GB, free: 4.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/1.263, allocations: 8.75 kB / 1.173 GB, free: 4.492 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001599/1.265, allocations: 315.1 kB / 1.174 GB, free: 4.172 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005807/1.266, allocations: 83.88 kB / 1.174 GB, free: 4.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009673/1.275, allocations: 6.834 MB / 1.18 GB, free: 12.78 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006799/1.276, allocations: 19.97 kB / 1.18 GB, free: 12.76 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-05/1.276, allocations: 24 kB / 1.18 GB, free: 12.74 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 45 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 8,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000186/1.276, allocations: 123.4 kB / 1.181 GB, free: 12.61 MB / 0.7917 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002485/1.279, allocations: 0.7961 MB / 1.181 GB, free: 11.8 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/1.279, allocations: 59.3 kB / 1.181 GB, free: 11.74 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002584/1.281, allocations: 0.849 MB / 1.182 GB, free: 10.87 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/1.282, allocations: 8.031 kB / 1.182 GB, free: 10.86 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/1.282, allocations: 6.188 kB / 1.182 GB, free: 10.86 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/1.282, allocations: 4 kB / 1.182 GB, free: 10.85 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004506/1.286, allocations: 1.712 MB / 1.184 GB, free: 9.039 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/1.286, allocations: 0 / 1.184 GB, free: 9.039 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003446/1.286, allocations: 43.91 kB / 1.184 GB, free: 8.996 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001422/1.288, allocations: 275.4 kB / 1.184 GB, free: 8.715 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.165e-05/1.288, allocations: 3.984 kB / 1.184 GB, free: 8.711 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008922/1.297, allocations: 6.554 MB / 1.191 GB, free: 1.684 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/1.297, allocations: 2.188 kB / 1.191 GB, free: 1.684 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002549/1.3, allocations: 0.9669 MB / 1.192 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003779/1.3, allocations: 168.5 kB / 1.192 GB, free: 456 kB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.86e-05/1.3, allocations: 6.75 kB / 1.192 GB, free: 452 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004559/1.3, allocations: 15.97 kB / 1.192 GB, free: 436 kB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/1.301, allocations: 43.88 kB / 1.192 GB, free: 392 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.209e-05/1.301, allocations: 12 kB / 1.192 GB, free: 380 kB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003928/1.301, allocations: 251 kB / 1.192 GB, free: 132 kB / 0.7917 GB Notification: Performance of sort global known variables: time 4.21e-07/1.301, allocations: 0 / 1.192 GB, free: 132 kB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001203/1.302, allocations: 179.9 kB / 1.192 GB, free: 15.95 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002986/1.305, allocations: 1.924 MB / 1.194 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.002642/1.308, allocations: 1.091 MB / 1.195 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/1.308, allocations: 0 / 1.195 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001833/1.31, allocations: 0.7766 MB / 1.196 GB, free: 12 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/1.311, allocations: 157.1 kB / 1.196 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002922/1.314, allocations: 1.025 MB / 1.197 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008256/1.315, allocations: 1.004 MB / 1.198 GB, free: 9.738 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0005453/1.316, allocations: 95.64 kB / 1.198 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004174/1.316, allocations: 228.6 kB / 1.198 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of SimCode: time 1.062e-06/1.316, allocations: 0 / 1.198 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06327/1.379, allocations: 12.89 MB / 1.211 GB, free: 12.75 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003188/1.38, allocations: 160.9 kB / 1.211 GB, free: 12.56 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.732/4.112, allocations: 0 / 1.211 GB, free: 12.56 MB / 0.823 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)