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.001477/0.001477, allocations: 109.4 kB / 15.69 MB, free: 128 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.001975/0.001975, allocations: 186.5 kB / 16.62 MB, free: 6.582 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.427/1.427, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.661/1.661, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001539/0.00154, allocations: 66.75 kB / 0.6718 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2559, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01794/0.2739, allocations: 14.66 MB / 0.798 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01502/0.289, allocations: 10.43 MB / 0.8081 GB, free: 4.055 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001585/0.2906, allocations: 51.69 kB / 0.8082 GB, free: 4.004 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004324/0.295, allocations: 1.695 MB / 0.8099 GB, free: 2.305 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006421/0.3014, allocations: 1.815 MB / 0.8116 GB, free: 500 kB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002249/0.3037, allocations: 0.7484 MB / 0.8124 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004611/0.3083, allocations: 2.757 MB / 0.815 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001982/0.3103, allocations: 1.419 MB / 0.8164 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002592/0.313, allocations: 1.5 MB / 0.8179 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002011/0.315, allocations: 1.164 MB / 0.819 GB, free: 8.852 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003318/0.3153, allocations: 160 kB / 0.8192 GB, free: 8.695 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001679/0.317, allocations: 0.7877 MB / 0.82 GB, free: 7.906 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000642/0.3177, allocations: 0.6036 MB / 0.8205 GB, free: 7.301 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001229/0.3189, allocations: 0.9523 MB / 0.8215 GB, free: 6.344 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003799/0.3227, allocations: 2.776 MB / 0.8242 GB, free: 3.559 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.3228, allocations: 0 / 0.8242 GB, free: 3.559 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3228, allocations: 0 / 0.8242 GB, free: 3.559 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.553e-05/0.3229, allocations: 4 kB / 0.8242 GB, free: 3.555 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.004579/0.3275, allocations: 2.17 MB / 0.8263 GB, free: 1.328 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.3275, allocations: 8.031 kB / 0.8263 GB, free: 1.32 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002511/0.3278, allocations: 194.4 kB / 0.8265 GB, free: 1.121 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.012/0.3398, allocations: 2.105 MB / 0.8286 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003811/0.3436, allocations: 1.307 MB / 0.8298 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.469e-05/0.3438, allocations: 86.69 kB / 0.8299 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004255/0.3442, allocations: 123.8 kB / 0.83 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006589/0.3508, allocations: 2.674 MB / 0.8326 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.126e-05/0.3509, allocations: 4 kB / 0.8327 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001858/0.3511, allocations: 55.92 kB / 0.8327 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006626/0.3518, allocations: 190.1 kB / 0.8329 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008019/0.3598, allocations: 2.791 MB / 0.8356 GB, free: 7.57 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01671/0.3766, allocations: 10.47 MB / 0.8458 GB, free: 12.52 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00691/0.3835, allocations: 2.344 MB / 0.8481 GB, free: 10.15 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003431/0.387, allocations: 1.276 MB / 0.8494 GB, free: 8.871 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001087/0.3871, allocations: 13 kB / 0.8494 GB, free: 8.859 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.589e-05/0.3872, allocations: 39.56 kB / 0.8494 GB, free: 8.812 MB / 0.67 GB Notification: Performance of pre-optimization done (n=89): time 3.998e-06/0.3872, allocations: 0 / 0.8494 GB, free: 8.812 MB / 0.67 GB Notification: Performance of matching and sorting (n=153): time 0.06199/0.4492, allocations: 16.48 MB / 0.8655 GB, free: 8.172 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.223e-05/0.4494, allocations: 68.7 kB / 0.8656 GB, free: 8.09 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002292/0.4517, allocations: 1.172 MB / 0.8667 GB, free: 6.906 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002859/0.452, allocations: 49.7 kB / 0.8668 GB, free: 6.852 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005994/0.4526, allocations: 0.7475 MB / 0.8675 GB, free: 6.098 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007831/0.4534, allocations: 0.5198 MB / 0.868 GB, free: 5.57 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000809/0.4542, allocations: 291.4 kB / 0.8683 GB, free: 5.281 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.4544, allocations: 305.1 kB / 0.8686 GB, free: 4.98 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003824/0.4582, allocations: 1.51 MB / 0.8701 GB, free: 3.469 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004065/0.4623, allocations: 1.78 MB / 0.8718 GB, free: 1.594 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007918/0.4703, allocations: 3.362 MB / 0.8751 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.708e-05/0.4703, allocations: 3.938 kB / 0.8751 GB, free: 14.13 MB / 0.7012 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01486/0.4852, allocations: 5.276 MB / 0.8802 GB, free: 8.816 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.766e-05/0.4853, allocations: 8 kB / 0.8802 GB, free: 8.809 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.4853, allocations: 8.875 kB / 0.8802 GB, free: 8.801 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00717/0.4925, allocations: 1.878 MB / 0.8821 GB, free: 6.898 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002176/0.4947, allocations: 415.2 kB / 0.8825 GB, free: 6.492 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03169/0.5264, allocations: 24.15 MB / 0.9061 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002761/0.5292, allocations: 303.5 kB / 0.9064 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002988/0.5295, allocations: 71.97 kB / 0.9064 GB, free: 12.86 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.0009538/0.5305, allocations: 464.7 kB / 0.9069 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004458/0.531, allocations: 173.9 kB / 0.907 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01425/0.5452, allocations: 5.324 MB / 0.9122 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.892e-05/0.5453, allocations: 12 kB / 0.9122 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.311e-05/0.5454, allocations: 20 kB / 0.9123 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-05/0.5454, allocations: 11.97 kB / 0.9123 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4186/0.9641, allocations: 7.436 MB / 0.9195 GB, free: 126.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.96e-05/0.9641, allocations: 2.781 kB / 0.9195 GB, free: 126.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001995/0.9661, allocations: 352.1 kB / 0.9199 GB, free: 126.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00644/0.9726, allocations: 1.704 MB / 0.9215 GB, free: 126.8 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003498/0.973, allocations: 40.44 kB / 0.9216 GB, free: 126.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02475/0.9977, allocations: 23.3 MB / 0.9443 GB, free: 112.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.9978, allocations: 9.531 kB / 0.9443 GB, free: 112.4 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01446/1.012, allocations: 4.89 MB / 0.9491 GB, free: 110.8 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001196/1.013, allocations: 493.2 kB / 0.9496 GB, free: 110.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003793/1.014, allocations: 29.41 kB / 0.9496 GB, free: 110.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002241/1.016, allocations: 317.9 kB / 0.9499 GB, free: 110.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006094/1.017, allocations: 151.9 kB / 0.9501 GB, free: 110.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001549/1.017, allocations: 53.73 kB / 0.9501 GB, free: 110.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009993/1.018, allocations: 0.794 MB / 0.9509 GB, free: 110.1 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/1.018, allocations: 2.812 kB / 0.9509 GB, free: 110.1 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002216/1.02, allocations: 0.6553 MB / 0.9515 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.01235/1.033, allocations: 5.472 MB / 0.9569 GB, free: 107.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01085/1.043, allocations: 5.148 MB / 0.9619 GB, free: 105.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/1.043, allocations: 1.094 kB / 0.9619 GB, free: 105.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006677/1.05, allocations: 3.35 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.002626/1.053, allocations: 0.5577 MB / 0.9657 GB, free: 103.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04331/1.096, allocations: 21.85 MB / 0.9871 GB, free: 88.05 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001327/1.098, allocations: 1.571 MB / 0.9886 GB, free: 86.45 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001438/1.099, allocations: 390.4 kB / 0.989 GB, free: 86.07 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007788/1.1, allocations: 0.6554 MB / 0.9896 GB, free: 85.42 MB / 0.7325 GB Notification: Performance of SimCode: time 6.41e-07/1.1, allocations: 0 / 0.9896 GB, free: 85.42 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1018/1.202, allocations: 58.37 MB / 1.047 GB, free: 27.81 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.15/20.35, allocations: 31.09 kB / 1.047 GB, free: 27.79 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)