Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.611/1.611, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00135/0.00135, allocations: 176.4 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.37/2.37, allocations: 205.4 MB / 0.5775 GB, free: 20.54 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001205/0.001205, allocations: 90.28 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003447/0.0003448, allocations: 16.92 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2273, allocations: 106.3 MB / 0.9002 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2136/0.4409, allocations: 158.1 MB / 1.055 GB, free: 1.918 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/0.4413, allocations: 103.9 kB / 1.055 GB, free: 1.816 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5854/1.027, allocations: 37.48 MB / 1.091 GB, free: 142.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.254e-06/1.027, allocations: 0 / 1.091 GB, free: 142.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.092e-05/1.027, allocations: 20 kB / 1.091 GB, free: 142.9 MB / 0.698 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.00198/1.029, allocations: 0.9464 MB / 1.092 GB, free: 141.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/1.029, allocations: 12.03 kB / 1.092 GB, free: 141.9 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002655/1.029, allocations: 118.5 kB / 1.092 GB, free: 141.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001622/1.031, allocations: 214.8 kB / 1.093 GB, free: 141.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/1.032, allocations: 0.5482 MB / 1.093 GB, free: 140.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.305e-05/1.032, allocations: 49.31 kB / 1.093 GB, free: 140.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/1.032, allocations: 63.89 kB / 1.093 GB, free: 140.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/1.033, allocations: 1.094 MB / 1.094 GB, free: 139.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.006e-05/1.033, allocations: 7.938 kB / 1.094 GB, free: 139.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.882e-05/1.033, allocations: 24 kB / 1.094 GB, free: 139.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-05/1.033, allocations: 57.28 kB / 1.094 GB, free: 139.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008878/1.034, allocations: 0.6918 MB / 1.095 GB, free: 138.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003783/1.038, allocations: 5.776 MB / 1.101 GB, free: 132.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006536/1.039, allocations: 0.5958 MB / 1.101 GB, free: 132 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/1.039, allocations: 7.984 kB / 1.101 GB, free: 132 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/1.039, allocations: 38.56 kB / 1.101 GB, free: 131.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=41): time 1.953e-06/1.039, allocations: 0 / 1.101 GB, free: 131.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=42): time 0.003443/1.042, allocations: 1.91 MB / 1.103 GB, free: 129.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/1.042, allocations: 55.41 kB / 1.103 GB, free: 129.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003557/1.043, allocations: 401.9 kB / 1.104 GB, free: 129.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/1.043, allocations: 33.7 kB / 1.104 GB, free: 129.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000153/1.043, allocations: 379.3 kB / 1.104 GB, free: 129 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.225e-05/1.043, allocations: 149.9 kB / 1.104 GB, free: 128.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.357e-05/1.043, allocations: 12 kB / 1.104 GB, free: 128.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.778e-05/1.043, allocations: 370.8 kB / 1.104 GB, free: 128.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002754/1.043, allocations: 228.9 kB / 1.105 GB, free: 128.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003162/1.044, allocations: 413.4 kB / 1.105 GB, free: 127.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/1.044, allocations: 296.4 kB / 1.105 GB, free: 127.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/1.044, allocations: 4 kB / 1.105 GB, free: 127.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001416/1.046, allocations: 0.9562 MB / 1.106 GB, free: 126.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/1.046, allocations: 8 kB / 1.106 GB, free: 126.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/1.046, allocations: 8 kB / 1.106 GB, free: 126.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008086/1.046, allocations: 263.9 kB / 1.107 GB, free: 126.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003/1.047, allocations: 95.83 kB / 1.107 GB, free: 126.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004738/1.051, allocations: 6.751 MB / 1.113 GB, free: 118.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004285/1.052, allocations: 31.97 kB / 1.113 GB, free: 118.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.91e-05/1.052, allocations: 20 kB / 1.113 GB, free: 118.8 MB / 0.698 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 47 * 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,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000425/1.052, allocations: 241.9 kB / 1.114 GB, free: 118.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/1.052, allocations: 59.44 kB / 1.114 GB, free: 118.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001359/1.054, allocations: 0.8419 MB / 1.114 GB, free: 117.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/1.054, allocations: 8 kB / 1.114 GB, free: 117.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/1.054, allocations: 4 kB / 1.114 GB, free: 117.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/1.054, allocations: 7.984 kB / 1.114 GB, free: 117.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002381/1.056, allocations: 1.73 MB / 1.116 GB, free: 115.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/1.056, allocations: 0 / 1.116 GB, free: 115.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/1.057, allocations: 47.91 kB / 1.116 GB, free: 115.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007376/1.057, allocations: 247.4 kB / 1.116 GB, free: 115.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.729e-05/1.057, allocations: 15.95 kB / 1.116 GB, free: 115.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004554/1.062, allocations: 6.457 MB / 1.123 GB, free: 108.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.062, allocations: 3.938 kB / 1.123 GB, free: 108.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/1.063, allocations: 0.9744 MB / 1.124 GB, free: 107.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003514/1.064, allocations: 172.4 kB / 1.124 GB, free: 107.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.498e-05/1.064, allocations: 8 kB / 1.124 GB, free: 107.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002916/1.064, allocations: 19.97 kB / 1.124 GB, free: 107.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.206e-05/1.064, allocations: 47.89 kB / 1.124 GB, free: 107.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/1.064, allocations: 11.95 kB / 1.124 GB, free: 107.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003348/1.064, allocations: 314.9 kB / 1.124 GB, free: 106.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/1.064, allocations: 0 / 1.124 GB, free: 106.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009508/1.065, allocations: 188 kB / 1.124 GB, free: 106.6 MB / 0.698 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 23 * 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,(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00161/1.067, allocations: 1.959 MB / 1.126 GB, free: 104.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001513/1.069, allocations: 1.129 MB / 1.127 GB, free: 103.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/1.069, allocations: 0 / 1.127 GB, free: 103.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008953/1.07, allocations: 0.7918 MB / 1.128 GB, free: 102.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008268/1.07, allocations: 173.4 kB / 1.128 GB, free: 102.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005736/1.076, allocations: 7.805 MB / 1.136 GB, free: 94.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004167/1.077, allocations: 1.004 MB / 1.137 GB, free: 93.37 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003309/1.077, allocations: 105.1 kB / 1.137 GB, free: 93.27 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002245/1.077, allocations: 227.4 kB / 1.137 GB, free: 93.05 MB / 0.698 GB Notification: Performance of SimCode: time 8.02e-07/1.077, allocations: 4 kB / 1.137 GB, free: 93.04 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02961/1.107, allocations: 14.09 MB / 1.151 GB, free: 79.22 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001972/1.107, allocations: 225.2 kB / 1.151 GB, free: 78.98 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.301/3.408, allocations: 0 / 1.151 GB, free: 78.98 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)