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.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,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.915/1.915, allocations: 288.4 MB / 303.6 MB, free: 7.977 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.001156/0.001156, allocations: 184.4 kB / 372.3 MB, free: 10.15 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.486/1.486, allocations: 205.4 MB / 0.631 GB, free: 9.93 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000881/0.000881, allocations: 100.6 kB / 0.7444 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003733/0.0003734, allocations: 11.59 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2031, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.0109/0.214, allocations: 12.56 MB / 0.9925 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.009906/0.224, allocations: 8.837 MB / 1.001 GB, free: 5.805 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001309/0.2253, allocations: 47.69 kB / 1.001 GB, free: 5.758 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009891/0.2263, allocations: 273.8 kB / 1.001 GB, free: 5.488 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003732/0.2301, allocations: 1.354 MB / 1.003 GB, free: 4.137 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001592/0.2317, allocations: 0.5613 MB / 1.003 GB, free: 3.574 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00288/0.2346, allocations: 2.695 MB / 1.006 GB, free: 0.8672 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003239/0.2378, allocations: 1.936 MB / 1.008 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001676/0.2395, allocations: 0.8442 MB / 1.009 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001968/0.2415, allocations: 1.027 MB / 1.01 GB, free: 13 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000456/0.242, allocations: 72 kB / 1.01 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001917/0.2439, allocations: 0.8265 MB / 1.01 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000877/0.2448, allocations: 0.4984 MB / 1.011 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001551/0.2463, allocations: 0.8023 MB / 1.012 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002656/0.249, allocations: 2.15 MB / 1.014 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.249, allocations: 0 / 1.014 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.342e-06/0.249, allocations: 0 / 1.014 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001038/0.2491, allocations: 0 / 1.014 GB, free: 8.637 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004297/0.2534, allocations: 1.812 MB / 1.016 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.2535, allocations: 16.03 kB / 1.016 GB, free: 6.754 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005339/0.254, allocations: 198.3 kB / 1.016 GB, free: 6.551 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0112/0.2653, allocations: 2.144 MB / 1.018 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002369/0.2676, allocations: 1.201 MB / 1.019 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-05/0.2677, allocations: 86.73 kB / 1.019 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003842/0.2681, allocations: 119.9 kB / 1.019 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006411/0.2746, allocations: 2.69 MB / 1.022 GB, free: 104 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.329e-05/0.2746, allocations: 19.83 kB / 1.022 GB, free: 84 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001991/0.2748, allocations: 51.98 kB / 1.022 GB, free: 32 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006213/0.2755, allocations: 178.1 kB / 1.022 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007593/0.2831, allocations: 2.842 MB / 1.025 GB, free: 13 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01508/0.2982, allocations: 10.57 MB / 1.035 GB, free: 1.855 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006677/0.3048, allocations: 2.567 MB / 1.038 GB, free: 15.22 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003127/0.308, allocations: 1.3 MB / 1.039 GB, free: 13.92 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 8.053e-05/0.3081, allocations: 13 kB / 1.039 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.3081, allocations: 47.48 kB / 1.039 GB, free: 13.85 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=89): time 3.496e-06/0.3081, allocations: 0 / 1.039 GB, free: 13.85 MB / 0.6667 GB Notification: Performance of matching and sorting (n=131): time 0.04525/0.3534, allocations: 13.44 MB / 1.052 GB, free: 196 kB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.3535, allocations: 68.72 kB / 1.052 GB, free: 112 kB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001745/0.3552, allocations: 1.102 MB / 1.053 GB, free: 14.99 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001435/0.3554, allocations: 49.7 kB / 1.053 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005718/0.356, allocations: 0.7193 MB / 1.054 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004468/0.3564, allocations: 449.5 kB / 1.055 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.3566, allocations: 28 kB / 1.055 GB, free: 13.74 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.3567, allocations: 361.8 kB / 1.055 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003325/0.3601, allocations: 1.35 MB / 1.056 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003496/0.3636, allocations: 1.62 MB / 1.058 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006886/0.3705, allocations: 3.026 MB / 1.061 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/0.3705, allocations: 0 / 1.061 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01141/0.3819, allocations: 4.477 MB / 1.065 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.382, allocations: 8 kB / 1.065 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/0.382, allocations: 8.844 kB / 1.065 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005074/0.3871, allocations: 1.427 MB / 1.067 GB, free: 1.176 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002075/0.3892, allocations: 447.2 kB / 1.067 GB, free: 0.7383 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4116/0.8008, allocations: 24.53 MB / 1.091 GB, free: 66.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002417/0.8032, allocations: 312.1 kB / 1.091 GB, free: 66.51 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002239/0.8035, allocations: 62.73 kB / 1.091 GB, free: 66.5 MB / 0.6823 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 (99): * Single equations (assignments): 86 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000852/0.8043, allocations: 436.1 kB / 1.092 GB, free: 66.23 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003249/0.8047, allocations: 165.5 kB / 1.092 GB, free: 66.22 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0114/0.8161, allocations: 4.476 MB / 1.096 GB, free: 64.79 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/0.8161, allocations: 14.19 kB / 1.096 GB, free: 64.79 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.641e-05/0.8162, allocations: 17.28 kB / 1.096 GB, free: 64.78 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.548e-05/0.8162, allocations: 9.641 kB / 1.096 GB, free: 64.78 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01511/0.8313, allocations: 6.815 MB / 1.103 GB, free: 62.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.088e-05/0.8314, allocations: 3.938 kB / 1.103 GB, free: 62.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001792/0.8332, allocations: 390.6 kB / 1.103 GB, free: 62.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00462/0.8378, allocations: 1.307 MB / 1.105 GB, free: 61.87 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001959/0.838, allocations: 43.58 kB / 1.105 GB, free: 61.85 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0178/0.8559, allocations: 23.5 MB / 1.128 GB, free: 41.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.8559, allocations: 11.36 kB / 1.128 GB, free: 41.78 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009723/0.8656, allocations: 4.23 MB / 1.132 GB, free: 39.35 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007778/0.8664, allocations: 458.4 kB / 1.132 GB, free: 39 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002986/0.8667, allocations: 27.19 kB / 1.132 GB, free: 38.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001994/0.8687, allocations: 319.6 kB / 1.132 GB, free: 38.84 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003309/0.8691, allocations: 126.3 kB / 1.133 GB, free: 38.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001257/0.8692, allocations: 46.94 kB / 1.133 GB, free: 38.75 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009528/0.8702, allocations: 0.7423 MB / 1.133 GB, free: 38.33 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.22e-07/0.8702, allocations: 0 / 1.133 GB, free: 38.33 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002018/0.8722, allocations: 0.5744 MB / 1.134 GB, free: 38.27 MB / 0.6823 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 (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(2,100.0%) 4,(3,100.0%) 9,(2,100.0%) 4,(3,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009872/0.8821, allocations: 4.822 MB / 1.139 GB, free: 35.28 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.009611/0.8917, allocations: 5.148 MB / 1.144 GB, free: 31.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.8917, allocations: 1.562 kB / 1.144 GB, free: 31.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.005785/0.8975, allocations: 3.515 MB / 1.147 GB, free: 29.34 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002493/0.9, allocations: 0.4918 MB / 1.148 GB, free: 29.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0238/0.9238, allocations: 14.4 MB / 1.162 GB, free: 16.46 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008042/0.9247, allocations: 1.48 MB / 1.163 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001485/0.9262, allocations: 421.5 kB / 1.163 GB, free: 14.53 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006827/0.9269, allocations: 0.6281 MB / 1.164 GB, free: 13.9 MB / 0.6823 GB Notification: Performance of SimCode: time 5.41e-07/0.9269, allocations: 4 kB / 1.164 GB, free: 13.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6494/1.576, allocations: 50.04 MB / 1.213 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002079/1.577, allocations: 234.1 kB / 1.213 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.036/5.613, allocations: 0 / 1.213 GB, free: 12.18 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)