Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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_L,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",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.001125/0.001125, 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.001566/0.001566, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.369/1.369, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.761/1.761, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001438/0.001438, allocations: 70.16 kB / 0.6716 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2434, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008686/0.2522, allocations: 6.128 MB / 0.7895 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005493/0.2577, allocations: 3.239 MB / 0.7926 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006377/0.2584, allocations: 27.81 kB / 0.7927 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00257/0.261, allocations: 0.9325 MB / 0.7936 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001546/0.2625, allocations: 473.5 kB / 0.794 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001476/0.264, allocations: 0.4981 MB / 0.7945 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001461/0.2655, allocations: 1.096 MB / 0.7956 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009462/0.2665, allocations: 0.6352 MB / 0.7962 GB, free: 312 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006512/0.2671, allocations: 438.3 kB / 0.7966 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006876/0.2678, allocations: 486.1 kB / 0.7971 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.2679, allocations: 56 kB / 0.7971 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001094/0.2691, allocations: 483 kB / 0.7976 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003193/0.2694, allocations: 287.2 kB / 0.7979 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004169/0.2698, allocations: 401.9 kB / 0.7982 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001288/0.2711, allocations: 1.168 MB / 0.7994 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2711, allocations: 0 / 0.7994 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2711, allocations: 0 / 0.7994 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.2712, allocations: 4 kB / 0.7994 GB, free: 13.02 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.00157/0.2727, allocations: 1.056 MB / 0.8004 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.2728, allocations: 12.03 kB / 0.8004 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001163/0.2729, allocations: 118.6 kB / 0.8005 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001461/0.2744, allocations: 219.6 kB / 0.8008 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007422/0.2751, allocations: 0.5415 MB / 0.8013 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.93e-05/0.2752, allocations: 49.67 kB / 0.8013 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.388e-05/0.2753, allocations: 60.28 kB / 0.8014 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.2766, allocations: 1.037 MB / 0.8024 GB, free: 9.727 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/0.2767, allocations: 4 kB / 0.8024 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.407e-05/0.2767, allocations: 31.98 kB / 0.8024 GB, free: 9.691 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.941e-05/0.2768, allocations: 77.2 kB / 0.8025 GB, free: 9.617 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.2779, allocations: 0.6918 MB / 0.8032 GB, free: 8.922 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005162/0.283, allocations: 5.741 MB / 0.8088 GB, free: 2.754 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008525/0.2839, allocations: 0.6192 MB / 0.8094 GB, free: 2.094 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007714/0.2847, allocations: 416.6 kB / 0.8098 GB, free: 1.684 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.019e-05/0.2848, allocations: 4 kB / 0.8098 GB, free: 1.68 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.2848, allocations: 38.56 kB / 0.8098 GB, free: 1.633 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 2.525e-06/0.2848, allocations: 0 / 0.8098 GB, free: 1.633 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.004536/0.2894, allocations: 2.057 MB / 0.8118 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.2894, allocations: 55.41 kB / 0.8119 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004982/0.2899, allocations: 474.7 kB / 0.8123 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.575e-05/0.29, allocations: 29.7 kB / 0.8124 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002378/0.2902, allocations: 391 kB / 0.8127 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.2903, allocations: 149.8 kB / 0.8129 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.2905, allocations: 106.2 kB / 0.813 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.2907, allocations: 366.8 kB / 0.8133 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003375/0.291, allocations: 245.2 kB / 0.8136 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004778/0.2915, allocations: 468.9 kB / 0.814 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008765/0.2924, allocations: 0.7519 MB / 0.8148 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.2924, allocations: 4 kB / 0.8148 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001853/0.2942, allocations: 1.07 MB / 0.8158 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.2943, allocations: 8 kB / 0.8158 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.2943, allocations: 12.06 kB / 0.8158 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/0.2953, allocations: 323.1 kB / 0.8161 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003209/0.2957, allocations: 99.81 kB / 0.8162 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007187/0.3029, allocations: 7.525 MB / 0.8236 GB, free: 2.621 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005387/0.3034, allocations: 28.02 kB / 0.8236 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-05/0.3035, allocations: 28 kB / 0.8236 GB, free: 2.566 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003892/0.3039, allocations: 241.5 kB / 0.8239 GB, free: 2.32 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.32e-05/0.304, allocations: 63.34 kB / 0.8239 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001729/0.3057, allocations: 0.9082 MB / 0.8248 GB, free: 1.332 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.423e-06/0.3057, allocations: 4 kB / 0.8248 GB, free: 1.328 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3058, allocations: 7.938 kB / 0.8248 GB, free: 1.32 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3058, allocations: 0 / 0.8248 GB, free: 1.32 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002685/0.3085, allocations: 1.712 MB / 0.8265 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.3085, allocations: 4 kB / 0.8265 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.3086, allocations: 39.91 kB / 0.8265 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009573/0.3096, allocations: 327.2 kB / 0.8268 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.184e-05/0.3097, allocations: 15.98 kB / 0.8269 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007391/0.317, allocations: 7.514 MB / 0.8342 GB, free: 7.051 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.3171, allocations: 8 kB / 0.8342 GB, free: 7.043 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/0.3188, allocations: 1.007 MB / 0.8352 GB, free: 5.988 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002555/0.3191, allocations: 172.3 kB / 0.8354 GB, free: 5.801 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.653e-05/0.3192, allocations: 12 kB / 0.8354 GB, free: 5.789 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002873/0.3195, allocations: 19.97 kB / 0.8354 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.3196, allocations: 43.88 kB / 0.8354 GB, free: 5.727 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.838e-05/0.3196, allocations: 16 kB / 0.8354 GB, free: 5.711 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003828/0.32, allocations: 314.8 kB / 0.8357 GB, free: 5.406 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.32, allocations: 0 / 0.8357 GB, free: 5.406 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008681/0.3209, allocations: 192 kB / 0.8359 GB, free: 5.219 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001971/0.3229, allocations: 1.583 MB / 0.8375 GB, free: 3.574 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002029/0.3249, allocations: 1.245 MB / 0.8387 GB, free: 2.277 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.3249, allocations: 0 / 0.8387 GB, free: 2.277 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001194/0.3261, allocations: 0.8621 MB / 0.8395 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.3272, allocations: 208.7 kB / 0.8397 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008655/0.3359, allocations: 5.993 MB / 0.8456 GB, free: 10.85 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000685/0.3366, allocations: 0.9959 MB / 0.8466 GB, free: 9.824 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0003485/0.3369, allocations: 97.19 kB / 0.8466 GB, free: 9.73 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002669/0.3372, allocations: 227.4 kB / 0.8469 GB, free: 9.508 MB / 0.67 GB Notification: Performance of SimCode: time 1.102e-06/0.3372, allocations: 0 / 0.8469 GB, free: 9.508 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06077/0.398, allocations: 15.3 MB / 0.8618 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.64/10.04, allocations: 8 kB / 0.8618 GB, free: 10.47 MB / 0.6856 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)