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.00104/0.00104, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001018/0.001018, allocations: 194 kB / 16.14 MB, free: 6.66 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.244/1.244, allocations: 205.1 MB / 222 MB, free: 4.984 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.542/1.542, allocations: 292.3 MB / 0.5484 GB, free: 13.71 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.001396/0.001396, allocations: 73.5 kB / 0.6709 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1652, allocations: 114.6 MB / 0.7828 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.006377/0.1716, allocations: 6.123 MB / 0.7888 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003888/0.1755, allocations: 3.255 MB / 0.792 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002129/0.1757, allocations: 27.81 kB / 0.792 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001814/0.1776, allocations: 0.8711 MB / 0.7928 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006728/0.1782, allocations: 450 kB / 0.7933 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007564/0.179, allocations: 450.6 kB / 0.7937 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001014/0.18, allocations: 1.467 MB / 0.7951 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007415/0.1808, allocations: 0.6366 MB / 0.7958 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003462/0.1811, allocations: 390.3 kB / 0.7961 GB, free: 268 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004239/0.1816, allocations: 478.2 kB / 0.7966 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 7.187e-05/0.1816, allocations: 44 kB / 0.7966 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006894/0.1823, allocations: 0.5886 MB / 0.7972 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002091/0.1826, allocations: 275.2 kB / 0.7975 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002934/0.1829, allocations: 385.9 kB / 0.7978 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0009282/0.1838, allocations: 1.184 MB / 0.799 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1838, allocations: 4 kB / 0.799 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of FrontEnd: time 9.31e-07/0.1838, allocations: 0 / 0.799 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.1838, allocations: 0 / 0.799 GB, free: 13.32 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.001286/0.1851, allocations: 1.056 MB / 0.8 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.1852, allocations: 12.03 kB / 0.8 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001121/0.1853, allocations: 114.7 kB / 0.8001 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001342/0.1866, allocations: 223.6 kB / 0.8004 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006239/0.1873, allocations: 0.5415 MB / 0.8009 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.1873, allocations: 45.67 kB / 0.8009 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.833e-05/0.1874, allocations: 68.27 kB / 0.801 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/0.1886, allocations: 1.026 MB / 0.802 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/0.1886, allocations: 15.91 kB / 0.802 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.823e-05/0.1887, allocations: 31.98 kB / 0.802 GB, free: 9.988 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.2e-05/0.1887, allocations: 61.28 kB / 0.8021 GB, free: 9.93 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008782/0.1896, allocations: 0.6918 MB / 0.8028 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003921/0.1936, allocations: 5.76 MB / 0.8084 GB, free: 3.051 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007078/0.1943, allocations: 0.5986 MB / 0.809 GB, free: 2.406 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006729/0.195, allocations: 420.6 kB / 0.8094 GB, free: 1.992 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.317e-05/0.195, allocations: 4 kB / 0.8094 GB, free: 1.988 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.195, allocations: 42.5 kB / 0.8094 GB, free: 1.938 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 1.583e-06/0.195, allocations: 0 / 0.8094 GB, free: 1.938 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.003886/0.1989, allocations: 2.058 MB / 0.8114 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7e-05/0.199, allocations: 55.41 kB / 0.8115 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004102/0.1994, allocations: 462.8 kB / 0.8119 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.1995, allocations: 29.7 kB / 0.812 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002392/0.1997, allocations: 395 kB / 0.8123 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 9.988e-05/0.1998, allocations: 153.8 kB / 0.8125 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002067/0.2, allocations: 106.2 kB / 0.8126 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.2002, allocations: 366.8 kB / 0.8129 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003166/0.2005, allocations: 245.2 kB / 0.8132 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000427/0.2009, allocations: 468.9 kB / 0.8136 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007953/0.2017, allocations: 0.748 MB / 0.8143 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.2017, allocations: 4 kB / 0.8144 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001677/0.2034, allocations: 1.07 MB / 0.8154 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.2034, allocations: 8 kB / 0.8154 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.2035, allocations: 4 kB / 0.8154 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009694/0.2044, allocations: 335.4 kB / 0.8157 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002754/0.2047, allocations: 99.81 kB / 0.8158 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006095/0.2108, allocations: 6.946 MB / 0.8226 GB, free: 3.535 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003505/0.2112, allocations: 32.3 kB / 0.8226 GB, free: 3.504 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.903e-05/0.2112, allocations: 28 kB / 0.8227 GB, free: 3.477 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.0002952/0.2115, allocations: 252.3 kB / 0.8229 GB, free: 3.223 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.707e-05/0.2116, allocations: 63.25 kB / 0.823 GB, free: 3.16 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001546/0.2132, allocations: 0.9082 MB / 0.8239 GB, free: 2.23 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.2132, allocations: 4 kB / 0.8239 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.2132, allocations: 8 kB / 0.8239 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.2132, allocations: 3.984 kB / 0.8239 GB, free: 2.215 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00231/0.2155, allocations: 1.712 MB / 0.8255 GB, free: 424 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.2156, allocations: 4 kB / 0.8255 GB, free: 420 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.2157, allocations: 39.91 kB / 0.8256 GB, free: 380 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008918/0.2166, allocations: 327.1 kB / 0.8259 GB, free: 40 kB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.845e-05/0.2166, allocations: 8 kB / 0.8259 GB, free: 32 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005916/0.2226, allocations: 6.943 MB / 0.8327 GB, free: 8.551 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.2226, allocations: 4 kB / 0.8327 GB, free: 8.547 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/0.2241, allocations: 1.007 MB / 0.8337 GB, free: 7.492 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002267/0.2243, allocations: 172.3 kB / 0.8338 GB, free: 7.305 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.051e-05/0.2244, allocations: 8 kB / 0.8338 GB, free: 7.297 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002487/0.2247, allocations: 27.91 kB / 0.8339 GB, free: 7.27 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.32e-05/0.2248, allocations: 47.83 kB / 0.8339 GB, free: 7.223 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/0.2248, allocations: 12 kB / 0.8339 GB, free: 7.211 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002931/0.2251, allocations: 314.9 kB / 0.8342 GB, free: 6.906 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2251, allocations: 0 / 0.8342 GB, free: 6.906 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000675/0.2258, allocations: 192 kB / 0.8344 GB, free: 6.719 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.001802/0.2276, allocations: 1.579 MB / 0.8359 GB, free: 5.078 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001646/0.2292, allocations: 1.206 MB / 0.8371 GB, free: 3.82 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2292, allocations: 3.938 kB / 0.8371 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.2303, allocations: 0.8621 MB / 0.838 GB, free: 2.902 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008455/0.2312, allocations: 180.9 kB / 0.8381 GB, free: 2.73 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00738/0.2385, allocations: 6.275 MB / 0.8443 GB, free: 12.13 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005193/0.2391, allocations: 0.9921 MB / 0.8452 GB, free: 11.11 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002665/0.2394, allocations: 105.3 kB / 0.8453 GB, free: 11.01 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002299/0.2396, allocations: 223.4 kB / 0.8456 GB, free: 10.79 MB / 0.67 GB Notification: Performance of SimCode: time 1.914e-06/0.2396, allocations: 4 kB / 0.8456 GB, free: 10.79 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.956/3.196, allocations: 14.82 MB / 0.86 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000229/3.196, allocations: 242.1 kB / 0.8603 GB, free: 12 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.856/5.052, allocations: 4 kB / 0.8603 GB, free: 11.99 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)