Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.ThreePhases,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",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.001036/0.001036, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 192.8 kB / 16.25 MB, free: 6.621 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.176/1.176, allocations: 205.1 MB / 222.1 MB, free: 4.668 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.483/1.483, allocations: 292.3 MB / 0.5485 GB, free: 13.64 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.001257/0.001257, allocations: 65.58 kB / 0.6711 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1689, allocations: 114.6 MB / 0.783 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01156/0.1805, allocations: 11.02 MB / 0.7937 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007572/0.1881, allocations: 5.805 MB / 0.7994 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000813/0.189, allocations: 43.69 kB / 0.7994 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00354/0.1925, allocations: 1.622 MB / 0.801 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002287/0.1948, allocations: 1.054 MB / 0.8021 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001646/0.1965, allocations: 0.7409 MB / 0.8028 GB, free: 9.438 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00218/0.1987, allocations: 2.127 MB / 0.8049 GB, free: 7.305 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001669/0.2004, allocations: 1.493 MB / 0.8063 GB, free: 5.789 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001057/0.2014, allocations: 0.86 MB / 0.8072 GB, free: 4.926 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001094/0.2025, allocations: 0.9455 MB / 0.8081 GB, free: 3.977 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001443/0.2027, allocations: 112 kB / 0.8082 GB, free: 3.867 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001529/0.2042, allocations: 1.177 MB / 0.8093 GB, free: 2.688 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004038/0.2046, allocations: 0.5297 MB / 0.8099 GB, free: 2.156 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006099/0.2052, allocations: 0.7849 MB / 0.8106 GB, free: 1.367 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00199/0.2072, allocations: 2.484 MB / 0.8131 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.2073, allocations: 4 kB / 0.8131 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2073, allocations: 0 / 0.8131 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.975e-05/0.2073, allocations: 0 / 0.8131 GB, free: 14.87 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.00222/0.2095, allocations: 1.864 MB / 0.8149 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.2096, allocations: 12.03 kB / 0.8149 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000197/0.2098, allocations: 215.4 kB / 0.8151 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003896/0.2137, allocations: 0.6738 MB / 0.8157 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.2148, allocations: 0.9106 MB / 0.8166 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.941e-05/0.2148, allocations: 98.89 kB / 0.8167 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/0.215, allocations: 124.3 kB / 0.8169 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002534/0.2175, allocations: 2.21 MB / 0.819 GB, free: 8.426 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.307e-05/0.2176, allocations: 11.88 kB / 0.819 GB, free: 8.414 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/0.2177, allocations: 59.98 kB / 0.8191 GB, free: 8.355 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001677/0.2179, allocations: 162.3 kB / 0.8192 GB, free: 8.195 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002394/0.2203, allocations: 1.863 MB / 0.8211 GB, free: 6.324 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009554/0.2298, allocations: 12.49 MB / 0.8332 GB, free: 8.887 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003819/0.2337, allocations: 1.97 MB / 0.8352 GB, free: 6.902 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007124/0.2344, allocations: 0.605 MB / 0.8358 GB, free: 6.297 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001448/0.2345, allocations: 98.08 kB / 0.8359 GB, free: 6.18 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.2346, allocations: 51.5 kB / 0.8359 GB, free: 6.121 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=103): time 2.234e-06/0.2346, allocations: 0 / 0.8359 GB, free: 6.121 MB / 0.6544 GB Notification: Performance of matching and sorting (n=110): time 0.005007/0.2396, allocations: 3.706 MB / 0.8395 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.2396, allocations: 60.41 kB / 0.8396 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008505/0.2405, allocations: 0.9242 MB / 0.8405 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.755e-05/0.2406, allocations: 45.69 kB / 0.8405 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004061/0.241, allocations: 0.7237 MB / 0.8412 GB, free: 464 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000237/0.2412, allocations: 390.5 kB / 0.8416 GB, free: 68 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000347/0.2416, allocations: 287.2 kB / 0.8419 GB, free: 15.78 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.18e-05/0.2417, allocations: 305.1 kB / 0.8422 GB, free: 15.48 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007789/0.2425, allocations: 0.609 MB / 0.8428 GB, free: 14.87 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.2435, allocations: 1.105 MB / 0.8438 GB, free: 13.54 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001927/0.2454, allocations: 1.832 MB / 0.8456 GB, free: 11.49 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.2455, allocations: 4 kB / 0.8456 GB, free: 11.49 MB / 0.67 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002802/0.2483, allocations: 2.112 MB / 0.8477 GB, free: 9.348 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.2483, allocations: 18.53 kB / 0.8477 GB, free: 9.332 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.2483, allocations: 12 kB / 0.8477 GB, free: 9.32 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007068/0.249, allocations: 258.7 kB / 0.848 GB, free: 9.043 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/0.2501, allocations: 371.4 kB / 0.8483 GB, free: 8.68 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007333/0.2575, allocations: 11.58 MB / 0.8596 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008233/0.2583, allocations: 131.8 kB / 0.8598 GB, free: 11.85 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-05/0.2584, allocations: 71.98 kB / 0.8598 GB, free: 11.78 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * 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 {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004584/0.2589, allocations: 401.2 kB / 0.8602 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001602/0.259, allocations: 138.4 kB / 0.8604 GB, free: 11.24 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002422/0.2615, allocations: 1.673 MB / 0.862 GB, free: 9.531 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.367e-06/0.2615, allocations: 12 kB / 0.862 GB, free: 9.52 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.2615, allocations: 0 / 0.862 GB, free: 9.52 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.2615, allocations: 11.92 kB / 0.862 GB, free: 9.508 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00419/0.2657, allocations: 3.291 MB / 0.8652 GB, free: 6.07 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.2657, allocations: 8 kB / 0.8652 GB, free: 6.062 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000731/0.2665, allocations: 219.6 kB / 0.8654 GB, free: 5.848 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006148/0.2671, allocations: 255.1 kB / 0.8657 GB, free: 5.574 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.478e-05/0.2672, allocations: 35.92 kB / 0.8657 GB, free: 5.539 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007258/0.2744, allocations: 11.56 MB / 0.877 GB, free: 8.855 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.2744, allocations: 12.09 kB / 0.877 GB, free: 8.844 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002203/0.2766, allocations: 1.796 MB / 0.8788 GB, free: 6.938 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003582/0.277, allocations: 311.4 kB / 0.8791 GB, free: 6.613 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.2772, allocations: 35.94 kB / 0.8791 GB, free: 6.578 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006186/0.2778, allocations: 87.81 kB / 0.8792 GB, free: 6.492 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.278, allocations: 104.7 kB / 0.8793 GB, free: 6.391 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.371e-05/0.278, allocations: 32 kB / 0.8793 GB, free: 6.359 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006175/0.2786, allocations: 0.6216 MB / 0.8799 GB, free: 5.73 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2787, allocations: 3.938 kB / 0.8799 GB, free: 5.727 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001025/0.2797, allocations: 388 kB / 0.8803 GB, free: 5.348 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * 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 {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002516/0.2822, allocations: 2.383 MB / 0.8826 GB, free: 2.848 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003607/0.2858, allocations: 2.883 MB / 0.8854 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2858, allocations: 0 / 0.8854 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001781/0.2876, allocations: 1.626 MB / 0.887 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/0.289, allocations: 353.1 kB / 0.8874 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01415/0.3032, allocations: 12.59 MB / 0.8997 GB, free: 256 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008451/0.304, allocations: 1.331 MB / 0.901 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008613/0.3049, allocations: 359.3 kB / 0.9013 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006186/0.3055, allocations: 0.5344 MB / 0.9018 GB, free: 14 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.3055, allocations: 3.938 kB / 0.9018 GB, free: 14 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.175/2.481, allocations: 27.86 MB / 0.929 GB, free: 131.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002023/2.481, allocations: 243.6 kB / 0.9293 GB, free: 131.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.809/5.29, allocations: 3.125 kB / 0.9293 GB, free: 131.4 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)