Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.626/1.626, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001404/0.001404, allocations: 176.9 kB / 361.4 MB, free: 6.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.71/1.71, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.0008982/0.0008981, allocations: 92.94 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.96e-05/2.957e-05, allocations: 4 kB / 0.8518 GB, free: 2.629 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.707/0.7071, allocations: 115.3 MB / 0.9645 GB, free: 78.66 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2129/0.92, allocations: 162.9 MB / 1.124 GB, free: 8.82 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003258/0.9204, allocations: 96.53 kB / 1.124 GB, free: 8.727 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.09579/1.016, allocations: 36.75 MB / 1.159 GB, free: 3.789 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.803e-06/1.016, allocations: 0 / 1.159 GB, free: 3.789 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 8.035e-05/1.016, allocations: 27.98 kB / 1.16 GB, free: 3.762 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002462/1.019, allocations: 0.9605 MB / 1.16 GB, free: 2.754 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/1.019, allocations: 12.03 kB / 1.16 GB, free: 2.742 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001906/1.021, allocations: 246.6 kB / 1.161 GB, free: 2.5 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/1.022, allocations: 0.5375 MB / 1.161 GB, free: 1.918 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.781e-05/1.022, allocations: 24 kB / 1.161 GB, free: 1.895 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001737/1.022, allocations: 40 kB / 1.161 GB, free: 1.855 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001237/1.023, allocations: 0.5935 MB / 1.162 GB, free: 1.262 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/1.025, allocations: 1.028 MB / 1.163 GB, free: 88 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.147e-05/1.025, allocations: 7.938 kB / 1.163 GB, free: 80 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.151e-05/1.025, allocations: 4 kB / 1.163 GB, free: 76 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.489e-05/1.025, allocations: 53.28 kB / 1.163 GB, free: 24 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005709/1.031, allocations: 5.763 MB / 1.169 GB, free: 9.844 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009865/1.032, allocations: 0.5203 MB / 1.169 GB, free: 9.309 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004297/1.032, allocations: 318.5 kB / 1.169 GB, free: 8.996 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.793e-05/1.033, allocations: 4.438 kB / 1.169 GB, free: 8.992 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/1.033, allocations: 39 kB / 1.169 GB, free: 8.945 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=47): time 2.445e-06/1.033, allocations: 4 kB / 1.169 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of matching and sorting (n=48): time 0.002252/1.035, allocations: 1.163 MB / 1.171 GB, free: 7.758 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/1.035, allocations: 55.84 kB / 1.171 GB, free: 7.691 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004885/1.035, allocations: 402.1 kB / 1.171 GB, free: 7.289 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/1.035, allocations: 29.7 kB / 1.171 GB, free: 7.254 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002879/1.036, allocations: 410.8 kB / 1.171 GB, free: 6.848 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/1.036, allocations: 161.6 kB / 1.172 GB, free: 6.688 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/1.036, allocations: 4 kB / 1.172 GB, free: 6.684 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002025/1.036, allocations: 366.8 kB / 1.172 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004128/1.037, allocations: 253.4 kB / 1.172 GB, free: 6.07 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005358/1.037, allocations: 434.6 kB / 1.173 GB, free: 5.566 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004641/1.038, allocations: 325.8 kB / 1.173 GB, free: 5.246 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.038, allocations: 4 kB / 1.173 GB, free: 5.242 MB / 0.7761 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001664/1.039, allocations: 0.9618 MB / 1.174 GB, free: 4.262 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/1.039, allocations: 4 kB / 1.174 GB, free: 4.258 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/1.039, allocations: 11.94 kB / 1.174 GB, free: 4.246 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008934/1.04, allocations: 267.8 kB / 1.174 GB, free: 3.977 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004787/1.041, allocations: 119.8 kB / 1.174 GB, free: 3.859 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006294/1.047, allocations: 6.33 MB / 1.18 GB, free: 13.08 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005964/1.048, allocations: 23.97 kB / 1.18 GB, free: 13.05 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.951e-05/1.048, allocations: 31.98 kB / 1.18 GB, free: 13.02 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 (63): * Single equations (assignments): 59 * 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%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001861/1.048, allocations: 120.8 kB / 1.181 GB, free: 12.9 MB / 0.7917 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001436/1.049, allocations: 0.7795 MB / 1.181 GB, free: 12.1 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/1.05, allocations: 63.25 kB / 1.181 GB, free: 12.04 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001504/1.051, allocations: 0.837 MB / 1.182 GB, free: 11.18 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/1.051, allocations: 4 kB / 1.182 GB, free: 11.17 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/1.051, allocations: 4 kB / 1.182 GB, free: 11.17 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/1.051, allocations: 4.031 kB / 1.182 GB, free: 11.16 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002548/1.054, allocations: 1.562 MB / 1.184 GB, free: 9.527 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/1.054, allocations: 2.062 kB / 1.184 GB, free: 9.527 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002897/1.054, allocations: 63.84 kB / 1.184 GB, free: 9.465 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007427/1.055, allocations: 267.4 kB / 1.184 GB, free: 9.191 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.655e-05/1.055, allocations: 7.938 kB / 1.184 GB, free: 9.184 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006186/1.061, allocations: 6.297 MB / 1.19 GB, free: 2.438 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/1.061, allocations: 4.031 kB / 1.19 GB, free: 2.434 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/1.063, allocations: 1.002 MB / 1.191 GB, free: 1.352 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000374/1.063, allocations: 188.2 kB / 1.191 GB, free: 1.148 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/1.063, allocations: 4 kB / 1.191 GB, free: 1.145 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003857/1.064, allocations: 23.95 kB / 1.191 GB, free: 1.121 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/1.064, allocations: 39.91 kB / 1.191 GB, free: 1.082 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-05/1.064, allocations: 20 kB / 1.191 GB, free: 1.062 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.000415/1.064, allocations: 302.9 kB / 1.192 GB, free: 0.7695 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.31e-07/1.064, allocations: 0 / 1.192 GB, free: 0.7695 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0009696/1.065, allocations: 203.9 kB / 1.192 GB, free: 0.5703 MB / 0.7917 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 (31): * Single equations (assignments): 27 * 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%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002034/1.067, allocations: 1.973 MB / 1.194 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001954/1.069, allocations: 1.169 MB / 1.195 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.069, allocations: 0 / 1.195 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001222/1.07, allocations: 0.8387 MB / 1.196 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/1.071, allocations: 161.4 kB / 1.196 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002885/1.074, allocations: 1.111 MB / 1.197 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000766/1.075, allocations: 1.024 MB / 1.198 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0004684/1.076, allocations: 118.9 kB / 1.198 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003628/1.076, allocations: 255.3 kB / 1.198 GB, free: 9.691 MB / 0.8073 GB Notification: Performance of SimCode: time 1.413e-06/1.076, allocations: 0 / 1.198 GB, free: 9.691 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04279/1.119, allocations: 14.6 MB / 1.213 GB, free: 11.31 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002779/1.119, allocations: 172.2 kB / 1.213 GB, free: 11.12 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.363/3.482, allocations: 7.453 kB / 1.213 GB, free: 11.11 MB / 0.823 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)