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.001143/0.001143, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001173/0.001173, allocations: 191.8 kB / 16.25 MB, free: 6.633 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.268/1.268, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.579/1.579, allocations: 292.3 MB / 0.5486 GB, free: 13.63 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.001268/0.001268, allocations: 64.56 kB / 0.6711 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1754, allocations: 114.6 MB / 0.783 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.006509/0.182, allocations: 6.135 MB / 0.789 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003805/0.1858, allocations: 3.216 MB / 0.7921 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001987/0.186, allocations: 27.81 kB / 0.7921 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001902/0.1879, allocations: 0.8785 MB / 0.793 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006652/0.1886, allocations: 434 kB / 0.7934 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007714/0.1894, allocations: 455.1 kB / 0.7938 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008612/0.1902, allocations: 1.104 MB / 0.7949 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007757/0.191, allocations: 0.7055 MB / 0.7956 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003834/0.1914, allocations: 446.2 kB / 0.796 GB, free: 352 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004401/0.1918, allocations: 494.1 kB / 0.7965 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 6.808e-05/0.1919, allocations: 56 kB / 0.7966 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005436/0.1925, allocations: 498.9 kB / 0.797 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002109/0.1927, allocations: 287.2 kB / 0.7973 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000296/0.193, allocations: 405.9 kB / 0.7977 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0009388/0.1939, allocations: 1.207 MB / 0.7989 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.194, allocations: 0 / 0.7989 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.373e-06/0.194, allocations: 0 / 0.7989 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.766e-06/0.194, allocations: 0 / 0.7989 GB, free: 13.43 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.001266/0.1952, allocations: 1.063 MB / 0.7999 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.1953, allocations: 8.031 kB / 0.7999 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001043/0.1954, allocations: 118.7 kB / 0.8 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001298/0.1967, allocations: 215.6 kB / 0.8002 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006109/0.1973, allocations: 0.5453 MB / 0.8008 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.05e-05/0.1974, allocations: 45.67 kB / 0.8008 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.492e-05/0.1974, allocations: 68.28 kB / 0.8009 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.1986, allocations: 1.03 MB / 0.8019 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/0.1987, allocations: 11.92 kB / 0.8019 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.617e-05/0.1987, allocations: 27.98 kB / 0.8019 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.1e-05/0.1988, allocations: 65.28 kB / 0.802 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008788/0.1997, allocations: 0.6957 MB / 0.8027 GB, free: 9.332 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00407/0.2038, allocations: 5.756 MB / 0.8083 GB, free: 3.148 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007123/0.2045, allocations: 0.5947 MB / 0.8089 GB, free: 2.508 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006581/0.2052, allocations: 412.6 kB / 0.8093 GB, free: 2.102 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.423e-05/0.2052, allocations: 8 kB / 0.8093 GB, free: 2.094 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.2053, allocations: 38.56 kB / 0.8093 GB, free: 2.047 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 1.393e-06/0.2053, allocations: 0 / 0.8093 GB, free: 2.047 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.003712/0.209, allocations: 2.062 MB / 0.8113 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.209, allocations: 59.41 kB / 0.8114 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000383/0.2094, allocations: 454.8 kB / 0.8118 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.675e-05/0.2095, allocations: 37.7 kB / 0.8119 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.2097, allocations: 391 kB / 0.8122 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.2098, allocations: 157.8 kB / 0.8124 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.2099, allocations: 110.2 kB / 0.8125 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.21, allocations: 358.8 kB / 0.8128 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003047/0.2103, allocations: 249.2 kB / 0.8131 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004387/0.2108, allocations: 468.9 kB / 0.8135 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007657/0.2116, allocations: 0.7402 MB / 0.8142 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.2116, allocations: 12 kB / 0.8142 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001604/0.2132, allocations: 1.065 MB / 0.8153 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.2132, allocations: 8 kB / 0.8153 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.2132, allocations: 8 kB / 0.8153 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009156/0.2141, allocations: 339.9 kB / 0.8156 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002605/0.2144, allocations: 95.83 kB / 0.8157 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006088/0.2205, allocations: 7.512 MB / 0.823 GB, free: 3.047 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002889/0.2208, allocations: 36.03 kB / 0.8231 GB, free: 3.012 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.295e-05/0.2209, allocations: 31.92 kB / 0.8231 GB, free: 2.98 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.0002442/0.2211, allocations: 252.8 kB / 0.8234 GB, free: 2.727 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.489e-05/0.2212, allocations: 55.34 kB / 0.8234 GB, free: 2.672 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001492/0.2227, allocations: 0.9121 MB / 0.8243 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.2227, allocations: 4 kB / 0.8243 GB, free: 1.738 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.2227, allocations: 4 kB / 0.8243 GB, free: 1.734 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.2227, allocations: 3.984 kB / 0.8243 GB, free: 1.73 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002234/0.225, allocations: 1.72 MB / 0.826 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.225, allocations: 0 / 0.826 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.2251, allocations: 39.97 kB / 0.826 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008361/0.226, allocations: 339.4 kB / 0.8264 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.981e-05/0.226, allocations: 8 kB / 0.8264 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006124/0.2321, allocations: 7.51 MB / 0.8337 GB, free: 7.457 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.2322, allocations: 3.938 kB / 0.8337 GB, free: 7.453 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/0.2336, allocations: 1.007 MB / 0.8347 GB, free: 6.398 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001691/0.2338, allocations: 180.3 kB / 0.8349 GB, free: 6.203 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.193e-05/0.2338, allocations: 8 kB / 0.8349 GB, free: 6.195 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/0.2341, allocations: 19.97 kB / 0.8349 GB, free: 6.176 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.258e-05/0.2342, allocations: 39.95 kB / 0.8349 GB, free: 6.137 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.586e-05/0.2342, allocations: 12 kB / 0.8349 GB, free: 6.125 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002676/0.2345, allocations: 318.7 kB / 0.8352 GB, free: 5.816 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2345, allocations: 0 / 0.8352 GB, free: 5.816 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005932/0.2351, allocations: 200 kB / 0.8354 GB, free: 5.621 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.001693/0.2368, allocations: 1.567 MB / 0.837 GB, free: 3.992 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001622/0.2384, allocations: 1.249 MB / 0.8382 GB, free: 2.691 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2384, allocations: 3.938 kB / 0.8382 GB, free: 2.688 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.2395, allocations: 0.8622 MB / 0.839 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008574/0.2403, allocations: 208.8 kB / 0.8392 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007256/0.2476, allocations: 6.267 MB / 0.8453 GB, free: 10.98 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005225/0.2481, allocations: 0.9882 MB / 0.8463 GB, free: 9.969 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002683/0.2484, allocations: 105.2 kB / 0.8464 GB, free: 9.867 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002279/0.2487, allocations: 231.3 kB / 0.8466 GB, free: 9.641 MB / 0.67 GB Notification: Performance of SimCode: time 3.41e-07/0.2487, allocations: 4 kB / 0.8466 GB, free: 9.637 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.844/6.093, allocations: 15.27 MB / 0.8615 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002356/6.093, allocations: 237.8 kB / 0.8618 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.043/8.136, allocations: 7.812 kB / 0.8618 GB, free: 10.43 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --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)