Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001073, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 193.2 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.355/1.355, allocations: 205.1 MB / 222.4 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.696/1.696, allocations: 292.3 MB / 0.5489 GB, free: 12.8 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001566, allocations: 65.72 kB / 0.6716 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2574, allocations: 114.5 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01899/0.2764, allocations: 14.67 MB / 0.7978 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01773/0.2942, allocations: 10.44 MB / 0.808 GB, free: 4.148 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00217/0.2964, allocations: 51.69 kB / 0.808 GB, free: 4.098 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00467/0.3012, allocations: 1.696 MB / 0.8097 GB, free: 2.398 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006068/0.3073, allocations: 1.811 MB / 0.8115 GB, free: 0.5898 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002127/0.3094, allocations: 0.7562 MB / 0.8122 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004183/0.3136, allocations: 2.746 MB / 0.8149 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002182/0.3158, allocations: 1.415 MB / 0.8163 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002623/0.3185, allocations: 1.496 MB / 0.8177 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002134/0.3206, allocations: 1.16 MB / 0.8189 GB, free: 8.965 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003167/0.321, allocations: 160 kB / 0.819 GB, free: 8.809 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001761/0.3227, allocations: 0.7916 MB / 0.8198 GB, free: 8.016 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006055/0.3233, allocations: 0.5998 MB / 0.8204 GB, free: 7.414 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001276/0.3246, allocations: 0.96 MB / 0.8213 GB, free: 6.449 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00406/0.3287, allocations: 2.741 MB / 0.824 GB, free: 3.699 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.3287, allocations: 3.938 kB / 0.824 GB, free: 3.695 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.256e-06/0.3288, allocations: 0 / 0.824 GB, free: 3.695 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.355e-05/0.3288, allocations: 0 / 0.824 GB, free: 3.695 MB / 0.6387 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.004814/0.3336, allocations: 2.172 MB / 0.8261 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/0.3337, allocations: 12.03 kB / 0.8261 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002796/0.334, allocations: 194.3 kB / 0.8263 GB, free: 1.258 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01192/0.3459, allocations: 2.109 MB / 0.8284 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003006/0.349, allocations: 1.21 MB / 0.8296 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.355e-05/0.3491, allocations: 90.67 kB / 0.8296 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003214/0.3494, allocations: 123.8 kB / 0.8298 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006193/0.3556, allocations: 2.678 MB / 0.8324 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.107e-05/0.3557, allocations: 4 kB / 0.8324 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001751/0.3559, allocations: 51.98 kB / 0.8324 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007125/0.3566, allocations: 194.1 kB / 0.8326 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008103/0.3647, allocations: 2.795 MB / 0.8353 GB, free: 7.789 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01607/0.3808, allocations: 10.51 MB / 0.8456 GB, free: 12.7 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006996/0.3878, allocations: 2.34 MB / 0.8479 GB, free: 10.33 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003445/0.3913, allocations: 1.276 MB / 0.8491 GB, free: 9.051 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 8.558e-05/0.3915, allocations: 13 kB / 0.8491 GB, free: 9.039 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.3915, allocations: 39.56 kB / 0.8492 GB, free: 8.992 MB / 0.67 GB Notification: Performance of pre-optimization done (n=89): time 2.855e-06/0.3915, allocations: 0 / 0.8492 GB, free: 8.992 MB / 0.67 GB Notification: Performance of matching and sorting (n=153): time 0.06378/0.4553, allocations: 16.48 MB / 0.8653 GB, free: 8.352 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.433e-05/0.4554, allocations: 68.72 kB / 0.8653 GB, free: 8.27 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00208/0.4575, allocations: 1.176 MB / 0.8665 GB, free: 7.082 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000272/0.4578, allocations: 49.7 kB / 0.8665 GB, free: 7.027 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006589/0.4585, allocations: 0.7436 MB / 0.8673 GB, free: 6.277 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006813/0.4592, allocations: 0.5159 MB / 0.8678 GB, free: 5.754 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007195/0.4599, allocations: 287.4 kB / 0.868 GB, free: 5.469 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.46, allocations: 309.1 kB / 0.8683 GB, free: 5.164 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003762/0.4638, allocations: 1.51 MB / 0.8698 GB, free: 3.652 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004032/0.4678, allocations: 1.78 MB / 0.8716 GB, free: 1.777 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007823/0.4757, allocations: 3.366 MB / 0.8748 GB, free: 14.31 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.4757, allocations: 0 / 0.8748 GB, free: 14.31 MB / 0.7012 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01459/0.4903, allocations: 5.277 MB / 0.88 GB, free: 8.996 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.114e-05/0.4904, allocations: 8 kB / 0.88 GB, free: 8.988 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/0.4904, allocations: 11.98 kB / 0.88 GB, free: 8.977 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007312/0.4977, allocations: 1.89 MB / 0.8819 GB, free: 7.062 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002208/0.5, allocations: 419.3 kB / 0.8823 GB, free: 6.652 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03363/0.5336, allocations: 24.15 MB / 0.9058 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003182/0.5369, allocations: 307.5 kB / 0.9061 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003938/0.5373, allocations: 67.91 kB / 0.9062 GB, free: 13.03 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001216/0.5385, allocations: 461.5 kB / 0.9066 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006157/0.5392, allocations: 177.9 kB / 0.9068 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01496/0.5541, allocations: 5.324 MB / 0.912 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.489e-05/0.5542, allocations: 12 kB / 0.912 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.245e-05/0.5543, allocations: 23.94 kB / 0.912 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-05/0.5543, allocations: 7.969 kB / 0.912 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4319/0.9862, allocations: 7.426 MB / 0.9193 GB, free: 126.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.002e-05/0.9863, allocations: 8.578 kB / 0.9193 GB, free: 126.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002043/0.9884, allocations: 357.6 kB / 0.9197 GB, free: 126.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007026/0.9954, allocations: 1.717 MB / 0.9213 GB, free: 126.8 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002909/0.9957, allocations: 42.95 kB / 0.9214 GB, free: 126.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02985/1.026, allocations: 23.31 MB / 0.9441 GB, free: 112.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.098e-05/1.026, allocations: 6.938 kB / 0.9441 GB, free: 112.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02285/1.049, allocations: 4.888 MB / 0.9489 GB, free: 110.9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001685/1.05, allocations: 496.4 kB / 0.9494 GB, free: 110.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008091/1.051, allocations: 29.19 kB / 0.9494 GB, free: 110.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003687/1.055, allocations: 315.1 kB / 0.9497 GB, free: 110.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001006/1.056, allocations: 152.6 kB / 0.9499 GB, free: 110.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003089/1.056, allocations: 52.81 kB / 0.9499 GB, free: 110.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002332/1.059, allocations: 0.7914 MB / 0.9507 GB, free: 110.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.1e-07/1.059, allocations: 0 / 0.9507 GB, free: 110.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00427/1.063, allocations: 0.6563 MB / 0.9513 GB, free: 110.1 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01616/1.079, allocations: 5.478 MB / 0.9567 GB, free: 107.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01298/1.092, allocations: 5.43 MB / 0.962 GB, free: 105.6 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-05/1.092, allocations: 1.406 kB / 0.962 GB, free: 105.6 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.007308/1.099, allocations: 3.345 MB / 0.9652 GB, free: 103.9 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003422/1.103, allocations: 0.5711 MB / 0.9658 GB, free: 103.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0469/1.15, allocations: 22.99 MB / 0.9883 GB, free: 86.38 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001628/1.152, allocations: 1.567 MB / 0.9898 GB, free: 84.77 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002022/1.154, allocations: 387.7 kB / 0.9902 GB, free: 84.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001053/1.155, allocations: 0.6554 MB / 0.9908 GB, free: 83.75 MB / 0.7325 GB Notification: Performance of SimCode: time 1.462e-06/1.155, allocations: 4 kB / 0.9908 GB, free: 83.74 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1125/1.267, allocations: 58.34 MB / 1.048 GB, free: 26.12 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/12.15, allocations: 18.22 kB / 1.048 GB, free: 26.11 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)