Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.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.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads",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.001316/0.001316, 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.00145/0.00145, allocations: 198.2 kB / 16.54 MB, free: 6.672 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.525/1.525, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.74/1.74, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001461/0.001461, allocations: 73.05 kB / 0.6716 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2531, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads): time 0.00667/0.2598, allocations: 4.332 MB / 0.7877 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00482/0.2647, allocations: 2.7 MB / 0.7903 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003849/0.2651, allocations: 11.94 kB / 0.7904 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.2665, allocations: 370.3 kB / 0.7907 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001074/0.2676, allocations: 394.2 kB / 0.7911 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001522/0.2691, allocations: 0.5155 MB / 0.7916 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009151/0.2701, allocations: 0.7124 MB / 0.7923 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006044/0.2707, allocations: 383.7 kB / 0.7927 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003736/0.2711, allocations: 275 kB / 0.7929 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005715/0.2716, allocations: 346.8 kB / 0.7932 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.887e-05/0.2717, allocations: 40 kB / 0.7933 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006175/0.2724, allocations: 315.3 kB / 0.7936 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002269/0.2726, allocations: 195.5 kB / 0.7938 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002665/0.2729, allocations: 270.6 kB / 0.794 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008336/0.2737, allocations: 0.7281 MB / 0.7947 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2737, allocations: 0 / 0.7947 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2737, allocations: 0 / 0.7947 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.2737, allocations: 0 / 0.7947 GB, free: 1.785 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.00154/0.2753, allocations: 0.8339 MB / 0.7956 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.2753, allocations: 12.03 kB / 0.7956 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000115/0.2755, allocations: 90.69 kB / 0.7957 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008957/0.2764, allocations: 148.1 kB / 0.7958 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004636/0.2768, allocations: 367 kB / 0.7961 GB, free: 252 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.333e-05/0.2769, allocations: 41.36 kB / 0.7962 GB, free: 212 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.492e-05/0.277, allocations: 44.36 kB / 0.7962 GB, free: 168 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.2782, allocations: 0.8244 MB / 0.797 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.2782, allocations: 11.94 kB / 0.797 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.352e-05/0.2783, allocations: 20 kB / 0.7971 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.411e-05/0.2784, allocations: 72.88 kB / 0.7971 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.2797, allocations: 0.6671 MB / 0.7978 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003952/0.2837, allocations: 4.496 MB / 0.8022 GB, free: 9.637 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/0.2849, allocations: 0.6134 MB / 0.8028 GB, free: 9.008 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005278/0.2854, allocations: 305.4 kB / 0.8031 GB, free: 8.703 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/0.2854, allocations: 7.984 kB / 0.8031 GB, free: 8.695 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.2855, allocations: 38.56 kB / 0.8031 GB, free: 8.648 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=38): time 2.004e-06/0.2855, allocations: 0 / 0.8031 GB, free: 8.648 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39): time 0.002/0.2875, allocations: 0.9423 MB / 0.804 GB, free: 7.699 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.2876, allocations: 85.11 kB / 0.8041 GB, free: 7.598 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003386/0.2879, allocations: 349.5 kB / 0.8044 GB, free: 7.25 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/0.2879, allocations: 33.7 kB / 0.8045 GB, free: 7.211 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.2881, allocations: 287.8 kB / 0.8047 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.2882, allocations: 138 kB / 0.8049 GB, free: 6.785 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/0.2884, allocations: 110.1 kB / 0.805 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.2886, allocations: 354.7 kB / 0.8053 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005349/0.2891, allocations: 274.9 kB / 0.8056 GB, free: 6.043 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006927/0.2898, allocations: 476 kB / 0.806 GB, free: 5.484 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.291, allocations: 0.7781 MB / 0.8068 GB, free: 4.613 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.2911, allocations: 4 kB / 0.8068 GB, free: 4.609 MB / 0.6231 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001486/0.2925, allocations: 0.7932 MB / 0.8076 GB, free: 3.809 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.2926, allocations: 8 kB / 0.8076 GB, free: 3.801 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.2926, allocations: 8.094 kB / 0.8076 GB, free: 3.793 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.2926, allocations: 12 kB / 0.8076 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007013/0.2933, allocations: 171.7 kB / 0.8078 GB, free: 3.613 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.605e-05/0.2933, allocations: 15.98 kB / 0.8078 GB, free: 3.598 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004567/0.2938, allocations: 71.7 kB / 0.8079 GB, free: 3.527 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/0.2939, allocations: 31.98 kB / 0.8079 GB, free: 3.496 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006098/0.2945, allocations: 369.7 kB / 0.8082 GB, free: 3.129 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000549/0.295, allocations: 435.7 kB / 0.8087 GB, free: 2.602 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001034/0.2961, allocations: 0.6868 MB / 0.8093 GB, free: 1.816 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.775e-06/0.2961, allocations: 0 / 0.8093 GB, free: 1.816 MB / 0.6231 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.001233/0.2973, allocations: 0.6817 MB / 0.81 GB, free: 1.129 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.2974, allocations: 8 kB / 0.81 GB, free: 1.121 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.2974, allocations: 11.98 kB / 0.81 GB, free: 1.109 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.2974, allocations: 12 kB / 0.81 GB, free: 1.098 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005611/0.298, allocations: 156.4 kB / 0.8102 GB, free: 0.9453 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/0.298, allocations: 15.94 kB / 0.8102 GB, free: 0.9297 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003811/0.2984, allocations: 63.69 kB / 0.8102 GB, free: 0.8672 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/0.2984, allocations: 27.94 kB / 0.8103 GB, free: 0.8398 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (68): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001905/0.2986, allocations: 216 kB / 0.8105 GB, free: 0.6211 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.562e-05/0.2987, allocations: 43.53 kB / 0.8105 GB, free: 0.5781 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/0.3, allocations: 0.6496 MB / 0.8112 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.3, allocations: 4 kB / 0.8112 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3, allocations: 0 / 0.8112 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.3, allocations: 0 / 0.8112 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002202/0.3022, allocations: 1.458 MB / 0.8126 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.3023, allocations: 4 kB / 0.8126 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006873/0.3029, allocations: 147.8 kB / 0.8127 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.303, allocations: 3.984 kB / 0.8127 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.93e-05/0.303, allocations: 11.94 kB / 0.8127 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.303, allocations: 4 kB / 0.8127 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/0.303, allocations: 7.938 kB / 0.8128 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.3042, allocations: 0.7925 MB / 0.8135 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002162/0.3045, allocations: 172.4 kB / 0.8137 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.894e-05/0.3046, allocations: 11.94 kB / 0.8137 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000408/0.305, allocations: 59.86 kB / 0.8138 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.3051, allocations: 31.95 kB / 0.8138 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.351e-05/0.3051, allocations: 16 kB / 0.8138 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000256/0.3054, allocations: 251.2 kB / 0.814 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3054, allocations: 0 / 0.814 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008267/0.3062, allocations: 196 kB / 0.8142 GB, free: 12.64 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001485/0.3077, allocations: 1.357 MB / 0.8156 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001975/0.3097, allocations: 1.033 MB / 0.8166 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.3097, allocations: 0 / 0.8166 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005374/0.3103, allocations: 303.5 kB / 0.8169 GB, free: 9.91 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000849/0.3111, allocations: 127.3 kB / 0.817 GB, free: 9.793 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007018/0.3182, allocations: 4.839 MB / 0.8217 GB, free: 4.66 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006085/0.3188, allocations: 0.8794 MB / 0.8226 GB, free: 3.754 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000725/0.3195, allocations: 212.1 kB / 0.8228 GB, free: 3.543 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003213/0.3199, allocations: 159.4 kB / 0.8229 GB, free: 3.387 MB / 0.6387 GB Notification: Performance of SimCode: time 2.555e-06/0.3199, allocations: 4 kB / 0.8229 GB, free: 3.383 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0328/0.3527, allocations: 10.48 MB / 0.8332 GB, free: 9.098 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.794/8.147, allocations: 10.42 kB / 0.8332 GB, free: 9.09 MB / 0.6544 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1)