Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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_R,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",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.001073/0.001073, allocations: 108 kB / 15.61 MB, free: 152 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.00122/0.00122, allocations: 194.2 kB / 16.53 MB, free: 6.699 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.417/1.417, allocations: 205.1 MB / 222.4 MB, free: 4.621 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.816/1.816, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001448/0.001449, allocations: 72.73 kB / 0.6716 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2414, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.007987/0.2495, allocations: 6.755 MB / 0.7901 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004753/0.2542, allocations: 3.095 MB / 0.7931 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004167/0.2547, allocations: 27.81 kB / 0.7931 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002288/0.257, allocations: 0.9405 MB / 0.794 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001003/0.258, allocations: 0.5089 MB / 0.7945 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009382/0.2589, allocations: 442.9 kB / 0.795 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001131/0.2601, allocations: 1.228 MB / 0.7962 GB, free: 364 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008593/0.261, allocations: 0.6664 MB / 0.7968 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005085/0.2615, allocations: 474.3 kB / 0.7973 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005785/0.2621, allocations: 0.5176 MB / 0.7978 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.815e-05/0.2622, allocations: 68 kB / 0.7978 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006395/0.2628, allocations: 379.2 kB / 0.7982 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002764/0.2631, allocations: 311.1 kB / 0.7985 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004066/0.2635, allocations: 445.8 kB / 0.7989 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.2647, allocations: 1.203 MB / 0.8001 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2647, allocations: 0 / 0.8001 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2647, allocations: 0 / 0.8001 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.671e-05/0.2647, allocations: 0 / 0.8001 GB, free: 12.31 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001916/0.2666, allocations: 1.176 MB / 0.8012 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.2667, allocations: 8.031 kB / 0.8013 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001337/0.2668, allocations: 126.7 kB / 0.8014 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001512/0.2684, allocations: 231.6 kB / 0.8016 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007552/0.2691, allocations: 0.5569 MB / 0.8021 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.741e-05/0.2692, allocations: 49.67 kB / 0.8022 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.2693, allocations: 72.23 kB / 0.8023 GB, free: 10 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/0.2707, allocations: 1.085 MB / 0.8033 GB, free: 8.812 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.2707, allocations: 7.938 kB / 0.8033 GB, free: 8.805 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.236e-05/0.2708, allocations: 31.98 kB / 0.8034 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001474/0.2709, allocations: 85.25 kB / 0.8034 GB, free: 8.688 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.272, allocations: 0.7504 MB / 0.8042 GB, free: 7.934 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005263/0.2773, allocations: 5.897 MB / 0.8099 GB, free: 1.609 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009625/0.2783, allocations: 0.5661 MB / 0.8105 GB, free: 1.031 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000418/0.2787, allocations: 326 kB / 0.8108 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.305e-05/0.2788, allocations: 8.438 kB / 0.8108 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.2788, allocations: 35 kB / 0.8108 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 2.425e-06/0.2788, allocations: 0 / 0.8108 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.003954/0.2828, allocations: 1.986 MB / 0.8128 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.2828, allocations: 59.84 kB / 0.8128 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006334/0.2835, allocations: 0.5587 MB / 0.8134 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.956e-05/0.2835, allocations: 33.7 kB / 0.8134 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000253/0.2838, allocations: 418.9 kB / 0.8138 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.2839, allocations: 169.6 kB / 0.814 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.2841, allocations: 130.5 kB / 0.8141 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.2843, allocations: 378.6 kB / 0.8145 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003914/0.2847, allocations: 277.8 kB / 0.8147 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005204/0.2852, allocations: 496.9 kB / 0.8152 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009538/0.2862, allocations: 0.8055 MB / 0.816 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.2862, allocations: 4 kB / 0.816 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001773/0.2879, allocations: 1.094 MB / 0.8171 GB, free: 9.934 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.288, allocations: 8 kB / 0.8171 GB, free: 9.926 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.288, allocations: 4 kB / 0.8171 GB, free: 9.922 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008301/0.2888, allocations: 291.9 kB / 0.8173 GB, free: 9.625 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004796/0.2893, allocations: 123.8 kB / 0.8175 GB, free: 9.504 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006542/0.2959, allocations: 7.126 MB / 0.8244 GB, free: 1.812 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006339/0.2965, allocations: 43.95 kB / 0.8245 GB, free: 1.77 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-05/0.2966, allocations: 32.06 kB / 0.8245 GB, free: 1.738 MB / 0.6387 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003693/0.297, allocations: 258.1 kB / 0.8247 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.2971, allocations: 71.16 kB / 0.8248 GB, free: 1.406 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001516/0.2986, allocations: 0.8926 MB / 0.8257 GB, free: 0.4922 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.2986, allocations: 11.94 kB / 0.8257 GB, free: 492 kB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2987, allocations: 0 / 0.8257 GB, free: 492 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.2987, allocations: 7.984 kB / 0.8257 GB, free: 484 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002439/0.3011, allocations: 1.724 MB / 0.8274 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.3011, allocations: 7.938 kB / 0.8274 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002661/0.3014, allocations: 60.14 kB / 0.8274 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007196/0.3021, allocations: 275 kB / 0.8277 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.422e-05/0.3022, allocations: 12 kB / 0.8277 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006102/0.3083, allocations: 7.127 MB / 0.8347 GB, free: 6.609 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.3083, allocations: 4.031 kB / 0.8347 GB, free: 6.605 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001469/0.3098, allocations: 0.9877 MB / 0.8356 GB, free: 5.574 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002506/0.31, allocations: 188.2 kB / 0.8358 GB, free: 5.371 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.418e-05/0.3101, allocations: 15.94 kB / 0.8358 GB, free: 5.355 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003713/0.3105, allocations: 31.95 kB / 0.8359 GB, free: 5.324 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.515e-05/0.3106, allocations: 43.89 kB / 0.8359 GB, free: 5.281 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.073e-05/0.3107, allocations: 16 kB / 0.8359 GB, free: 5.266 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004214/0.3111, allocations: 391.1 kB / 0.8363 GB, free: 4.887 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3111, allocations: 0 / 0.8363 GB, free: 4.887 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007947/0.3119, allocations: 224 kB / 0.8365 GB, free: 4.668 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001687/0.3136, allocations: 1.54 MB / 0.838 GB, free: 3.066 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001984/0.3156, allocations: 1.334 MB / 0.8393 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.3156, allocations: 4 kB / 0.8393 GB, free: 1.676 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001146/0.3168, allocations: 0.8815 MB / 0.8402 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009718/0.3177, allocations: 230.6 kB / 0.8404 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007907/0.3257, allocations: 6.565 MB / 0.8468 GB, free: 9.629 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005529/0.3262, allocations: 1.013 MB / 0.8478 GB, free: 8.59 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004092/0.3266, allocations: 122 kB / 0.8479 GB, free: 8.469 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000286/0.3269, allocations: 251.3 kB / 0.8482 GB, free: 8.223 MB / 0.67 GB Notification: Performance of SimCode: time 5.2e-07/0.3269, allocations: 0 / 0.8482 GB, free: 8.223 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04468/0.3716, allocations: 17.25 MB / 0.865 GB, free: 7.281 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.708/10.08, allocations: 6.562 kB / 0.865 GB, free: 7.277 MB / 0.6856 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)