Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ACLine,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 105.4 kB / 15.7 MB, free: 24 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.00117/0.00117, allocations: 192.5 kB / 16.64 MB, free: 6.594 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.463/1.463, allocations: 205.1 MB / 222.5 MB, free: 4.57 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.721/1.721, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.00201/0.00201, allocations: 69.61 kB / 0.6718 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2218, allocations: 114.5 MB / 0.7836 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01667/0.2385, allocations: 13.93 MB / 0.7972 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01439/0.253, allocations: 9.482 MB / 0.8065 GB, free: 5.809 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001662/0.2547, allocations: 55.62 kB / 0.8066 GB, free: 5.754 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004622/0.2594, allocations: 1.672 MB / 0.8082 GB, free: 4.078 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005228/0.2646, allocations: 1.543 MB / 0.8097 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002223/0.2669, allocations: 0.759 MB / 0.8104 GB, free: 1.777 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003725/0.2706, allocations: 2.516 MB / 0.8129 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00201/0.2726, allocations: 1.415 MB / 0.8143 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001698/0.2743, allocations: 1.047 MB / 0.8153 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001971/0.2763, allocations: 1.14 MB / 0.8164 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003426/0.2767, allocations: 164 kB / 0.8166 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001603/0.2783, allocations: 0.7916 MB / 0.8173 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00063/0.2789, allocations: 0.6193 MB / 0.8179 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001162/0.2801, allocations: 0.9407 MB / 0.8189 GB, free: 9.09 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00329/0.2834, allocations: 2.757 MB / 0.8216 GB, free: 6.324 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/0.2835, allocations: 7.984 kB / 0.8216 GB, free: 6.316 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2835, allocations: 0 / 0.8216 GB, free: 6.316 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.175e-05/0.2835, allocations: 0 / 0.8216 GB, free: 6.316 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.004572/0.2881, allocations: 2.135 MB / 0.8236 GB, free: 4.125 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.2882, allocations: 12.03 kB / 0.8237 GB, free: 4.113 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002598/0.2884, allocations: 198.3 kB / 0.8238 GB, free: 3.91 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01177/0.3002, allocations: 2.077 MB / 0.8259 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002937/0.3032, allocations: 1.294 MB / 0.8271 GB, free: 488 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.608e-05/0.3033, allocations: 90.73 kB / 0.8272 GB, free: 396 kB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003231/0.3036, allocations: 119.9 kB / 0.8273 GB, free: 276 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006121/0.3097, allocations: 2.679 MB / 0.83 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.101e-05/0.3098, allocations: 3.938 kB / 0.83 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001626/0.31, allocations: 59.92 kB / 0.83 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000641/0.3106, allocations: 182.1 kB / 0.8302 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007865/0.3185, allocations: 2.795 MB / 0.8329 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01515/0.3337, allocations: 10.46 MB / 0.8431 GB, free: 15.34 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007069/0.3408, allocations: 2.536 MB / 0.8456 GB, free: 12.75 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003277/0.3441, allocations: 1.284 MB / 0.8469 GB, free: 11.46 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 8.602e-05/0.3442, allocations: 9 kB / 0.8469 GB, free: 11.45 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.3443, allocations: 47.56 kB / 0.8469 GB, free: 11.39 MB / 0.67 GB Notification: Performance of pre-optimization done (n=89): time 2.795e-06/0.3443, allocations: 0 / 0.8469 GB, free: 11.39 MB / 0.67 GB Notification: Performance of matching and sorting (n=131): time 0.04794/0.3922, allocations: 13.34 MB / 0.86 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.3923, allocations: 68.72 kB / 0.86 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001589/0.3939, allocations: 1.125 MB / 0.8611 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002185/0.3941, allocations: 53.64 kB / 0.8612 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005171/0.3947, allocations: 0.7154 MB / 0.8619 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004974/0.3952, allocations: 453.5 kB / 0.8623 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005571/0.3957, allocations: 259.4 kB / 0.8625 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3959, allocations: 373.8 kB / 0.8629 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003632/0.3995, allocations: 1.335 MB / 0.8642 GB, free: 9.418 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003945/0.4035, allocations: 1.596 MB / 0.8658 GB, free: 7.723 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007337/0.4109, allocations: 2.998 MB / 0.8687 GB, free: 4.629 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.257e-05/0.4109, allocations: 4 kB / 0.8687 GB, free: 4.625 MB / 0.6856 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01244/0.4233, allocations: 4.443 MB / 0.873 GB, free: 132 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/0.4234, allocations: 8 kB / 0.873 GB, free: 124 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.4234, allocations: 4 kB / 0.873 GB, free: 120 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005247/0.4287, allocations: 1.435 MB / 0.8745 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002107/0.4308, allocations: 439.2 kB / 0.8749 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02861/0.4594, allocations: 26.67 MB / 0.9009 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002895/0.4624, allocations: 315.5 kB / 0.9012 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003327/0.4627, allocations: 63.95 kB / 0.9013 GB, free: 1.336 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00104/0.4638, allocations: 438.1 kB / 0.9017 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004605/0.4643, allocations: 158.1 kB / 0.9018 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01201/0.4763, allocations: 4.449 MB / 0.9062 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/0.4763, allocations: 12 kB / 0.9062 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.59e-05/0.4764, allocations: 12 kB / 0.9062 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.999e-05/0.4764, allocations: 7.969 kB / 0.9062 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01564/0.4921, allocations: 6.764 MB / 0.9128 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-05/0.4921, allocations: 4 kB / 0.9128 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001899/0.494, allocations: 379.3 kB / 0.9132 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00476/0.4988, allocations: 1.314 MB / 0.9145 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002318/0.4991, allocations: 39.91 kB / 0.9145 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4796/0.9787, allocations: 25.48 MB / 0.9394 GB, free: 111.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/0.9788, allocations: 10.16 kB / 0.9394 GB, free: 111.4 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01199/0.9908, allocations: 4.203 MB / 0.9435 GB, free: 110.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00143/0.9922, allocations: 461.4 kB / 0.9439 GB, free: 109.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000378/0.9926, allocations: 31.73 kB / 0.944 GB, free: 109.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002417/0.9951, allocations: 304.4 kB / 0.9443 GB, free: 109.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005671/0.9957, allocations: 126.4 kB / 0.9444 GB, free: 109.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001455/0.9958, allocations: 47.5 kB / 0.9444 GB, free: 109.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001157/0.997, allocations: 0.7542 MB / 0.9452 GB, free: 109.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.997, allocations: 0 / 0.9452 GB, free: 109.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002333/0.9993, allocations: 0.5699 MB / 0.9457 GB, free: 109.4 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01389/1.013, allocations: 4.793 MB / 0.9504 GB, free: 107.4 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01251/1.026, allocations: 5.143 MB / 0.9554 GB, free: 104.9 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/1.026, allocations: 1.094 kB / 0.9554 GB, free: 104.9 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.007209/1.033, allocations: 3.487 MB / 0.9588 GB, free: 102.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003216/1.036, allocations: 0.5491 MB / 0.9594 GB, free: 102.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04692/1.083, allocations: 19.38 MB / 0.9783 GB, free: 93.02 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001603/1.085, allocations: 1.477 MB / 0.9797 GB, free: 91.95 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001759/1.087, allocations: 424.6 kB / 0.9801 GB, free: 91.75 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009439/1.088, allocations: 0.625 MB / 0.9808 GB, free: 91.21 MB / 0.7325 GB Notification: Performance of SimCode: time 1.363e-06/1.088, allocations: 0 / 0.9808 GB, free: 91.21 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09935/1.187, allocations: 51.31 MB / 1.031 GB, free: 41.12 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.81/19, allocations: 16 kB / 1.031 GB, free: 41.1 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)