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.ACLineMedium.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.ACLineMedium,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.766/1.766, allocations: 288.2 MB / 303.2 MB, free: 8.148 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.00102/0.00102, allocations: 185 kB / 371.8 MB, free: 10.26 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.613/1.613, allocations: 205.4 MB / 0.6305 GB, free: 10.01 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.0008616/0.0008616, allocations: 93.48 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003988/0.0003991, allocations: 19.44 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1969, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01181/0.2087, allocations: 12.48 MB / 0.9917 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0113/0.2201, allocations: 9.442 MB / 1.001 GB, free: 5.594 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001366/0.2215, allocations: 51.56 kB / 1.001 GB, free: 5.543 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009808/0.2225, allocations: 262.3 kB / 1.001 GB, free: 5.285 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.004121/0.2266, allocations: 1.458 MB / 1.003 GB, free: 3.828 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.2281, allocations: 0.5159 MB / 1.003 GB, free: 3.312 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00267/0.2308, allocations: 1.762 MB / 1.005 GB, free: 1.547 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00272/0.2335, allocations: 1.799 MB / 1.007 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001785/0.2353, allocations: 1.196 MB / 1.008 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001541/0.2369, allocations: 0.8483 MB / 1.009 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003638/0.2373, allocations: 72 kB / 1.009 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001137/0.2384, allocations: 395.4 kB / 1.009 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0005996/0.239, allocations: 458.6 kB / 1.009 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000542/0.2396, allocations: 360.8 kB / 1.01 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002216/0.2418, allocations: 2.073 MB / 1.012 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.2418, allocations: 0 / 1.012 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2418, allocations: 0 / 1.012 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.594e-05/0.2418, allocations: 0 / 1.012 GB, free: 10.32 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.003155/0.245, allocations: 1.843 MB / 1.014 GB, free: 8.418 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.245, allocations: 12.03 kB / 1.014 GB, free: 8.406 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002378/0.2453, allocations: 194.2 kB / 1.014 GB, free: 8.207 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01098/0.2563, allocations: 2.182 MB / 1.016 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002801/0.2591, allocations: 1.163 MB / 1.017 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.4e-05/0.2592, allocations: 94.31 kB / 1.017 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002295/0.2594, allocations: 112 kB / 1.017 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005519/0.265, allocations: 2.678 MB / 1.02 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.7e-05/0.265, allocations: 11.84 kB / 1.02 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001654/0.2652, allocations: 55.98 kB / 1.02 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000626/0.2658, allocations: 190.1 kB / 1.02 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00734/0.2732, allocations: 2.838 MB / 1.023 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0147/0.2879, allocations: 10.57 MB / 1.033 GB, free: 3.508 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006504/0.2944, allocations: 2.387 MB / 1.036 GB, free: 1.094 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.484e-05/0.2946, allocations: 9 kB / 1.036 GB, free: 1.086 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/0.2946, allocations: 43.56 kB / 1.036 GB, free: 1.035 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=89): time 2.344e-06/0.2946, allocations: 0 / 1.036 GB, free: 1.035 MB / 0.6511 GB Notification: Performance of matching and sorting (n=153): time 0.05839/0.353, allocations: 16.5 MB / 1.052 GB, free: 388 kB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.098e-05/0.3531, allocations: 68.72 kB / 1.052 GB, free: 308 kB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001953/0.3551, allocations: 1.153 MB / 1.053 GB, free: 15.13 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003314/0.3554, allocations: 53.7 kB / 1.053 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005973/0.3561, allocations: 0.7474 MB / 1.054 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006133/0.3567, allocations: 0.5121 MB / 1.054 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.3568, allocations: 32 kB / 1.054 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.357, allocations: 365.9 kB / 1.055 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003614/0.3606, allocations: 1.522 MB / 1.056 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003911/0.3645, allocations: 1.788 MB / 1.058 GB, free: 10 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003947/0.3685, allocations: 1.646 MB / 1.059 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.3686, allocations: 4 kB / 1.059 GB, free: 8.352 MB / 0.6823 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01381/0.3824, allocations: 5.3 MB / 1.065 GB, free: 3.012 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.611e-05/0.3824, allocations: 9.562 kB / 1.065 GB, free: 3.004 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.3825, allocations: 8 kB / 1.065 GB, free: 2.996 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006908/0.3894, allocations: 1.892 MB / 1.066 GB, free: 1.082 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002037/0.3914, allocations: 419.3 kB / 1.067 GB, free: 0.6719 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.403/0.7944, allocations: 22.84 MB / 1.089 GB, free: 70.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003052/0.7976, allocations: 318.3 kB / 1.09 GB, free: 70.55 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002713/0.7979, allocations: 65.94 kB / 1.09 GB, free: 70.54 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 (82): * Single equations (assignments): 74 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 17,(3,100.0%) 17,(3,100.0%) 15,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009344/0.7988, allocations: 471.3 kB / 1.09 GB, free: 70.25 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000353/0.7992, allocations: 178 kB / 1.09 GB, free: 70.16 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01398/0.8131, allocations: 5.344 MB / 1.095 GB, free: 68.43 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.158e-05/0.8132, allocations: 14.91 kB / 1.095 GB, free: 68.43 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.476e-05/0.8133, allocations: 18.75 kB / 1.095 GB, free: 68.43 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.41e-05/0.8133, allocations: 7.5 kB / 1.095 GB, free: 68.43 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01747/0.8308, allocations: 7.451 MB / 1.103 GB, free: 65.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-05/0.8308, allocations: 2.875 kB / 1.103 GB, free: 65.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001748/0.8326, allocations: 370.8 kB / 1.103 GB, free: 65.79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006072/0.8387, allocations: 1.702 MB / 1.105 GB, free: 65.37 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002602/0.839, allocations: 43.17 kB / 1.105 GB, free: 65.35 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02373/0.8627, allocations: 22.05 MB / 1.126 GB, free: 48.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.8628, allocations: 6.531 kB / 1.126 GB, free: 48.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01191/0.8747, allocations: 5.066 MB / 1.131 GB, free: 45.18 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001341/0.8761, allocations: 498.4 kB / 1.132 GB, free: 44.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003143/0.8764, allocations: 27.66 kB / 1.132 GB, free: 44.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00212/0.8785, allocations: 335.9 kB / 1.132 GB, free: 44.62 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005371/0.8791, allocations: 147 kB / 1.132 GB, free: 44.55 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001326/0.8792, allocations: 54.34 kB / 1.132 GB, free: 44.53 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001133/0.8803, allocations: 0.7812 MB / 1.133 GB, free: 44.09 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8804, allocations: 4 kB / 1.133 GB, free: 44.09 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002393/0.8828, allocations: 0.6549 MB / 1.134 GB, free: 44.02 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 (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0111/0.8939, allocations: 6.377 MB / 1.14 GB, free: 39.75 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.009876/0.9038, allocations: 5.19 MB / 1.145 GB, free: 35.08 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/0.9038, allocations: 0 / 1.145 GB, free: 35.08 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.005909/0.9098, allocations: 3.371 MB / 1.148 GB, free: 31.61 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002073/0.9119, allocations: 0.4972 MB / 1.149 GB, free: 31.13 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0294/0.9413, allocations: 20.62 MB / 1.169 GB, free: 9.793 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001179/0.9425, allocations: 1.6 MB / 1.17 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001726/0.9443, allocations: 394.3 kB / 1.171 GB, free: 7.766 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007941/0.9451, allocations: 0.6593 MB / 1.171 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of SimCode: time 7.91e-07/0.9451, allocations: 0 / 1.171 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08322/1.028, allocations: 56.12 MB / 1.226 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/1.029, allocations: 247.7 kB / 1.227 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.514/4.542, allocations: 0 / 1.227 GB, free: 15.34 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)