Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.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.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_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.001266/0.001266, 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.00127/0.00127, allocations: 190.2 kB / 16.13 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.235/1.235, allocations: 205.1 MB / 222 MB, free: 4.715 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.578/1.578, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001303/0.001303, allocations: 69.72 kB / 0.6709 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1645, allocations: 114.5 MB / 0.7828 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.006432/0.171, allocations: 6.08 MB / 0.7887 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004148/0.1752, allocations: 3.209 MB / 0.7919 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002451/0.1754, allocations: 27.81 kB / 0.7919 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001889/0.1773, allocations: 0.8833 MB / 0.7928 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000783/0.1781, allocations: 446 kB / 0.7932 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008328/0.179, allocations: 435.2 kB / 0.7936 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001058/0.18, allocations: 1.455 MB / 0.795 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007541/0.1808, allocations: 0.6249 MB / 0.7956 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00035/0.1812, allocations: 382.3 kB / 0.796 GB, free: 384 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004361/0.1816, allocations: 494.1 kB / 0.7965 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 6.843e-05/0.1817, allocations: 44 kB / 0.7965 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006976/0.1824, allocations: 0.5809 MB / 0.7971 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000208/0.1826, allocations: 271.2 kB / 0.7973 GB, free: 15 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000298/0.1829, allocations: 385.9 kB / 0.7977 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0009273/0.1838, allocations: 1.176 MB / 0.7988 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1838, allocations: 7.938 kB / 0.7989 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of FrontEnd: time 7.01e-07/0.1839, allocations: 0 / 0.7989 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.1839, 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.001302/0.1852, allocations: 1.048 MB / 0.7999 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.1852, allocations: 8.031 kB / 0.7999 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001116/0.1853, allocations: 118.7 kB / 0.8 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/0.1867, allocations: 223.6 kB / 0.8002 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000615/0.1873, allocations: 0.5336 MB / 0.8007 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.182e-05/0.1874, allocations: 49.67 kB / 0.8008 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.826e-05/0.1875, allocations: 64.36 kB / 0.8008 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.1886, allocations: 1.026 MB / 0.8018 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/0.1887, allocations: 15.83 kB / 0.8019 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.005e-05/0.1887, allocations: 31.98 kB / 0.8019 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.48e-05/0.1888, allocations: 65.22 kB / 0.802 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009016/0.1897, allocations: 0.6957 MB / 0.8026 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004014/0.1938, allocations: 5.749 MB / 0.8082 GB, free: 3.184 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007303/0.1945, allocations: 0.608 MB / 0.8088 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006726/0.1952, allocations: 424.4 kB / 0.8092 GB, free: 2.121 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.334e-05/0.1952, allocations: 11.78 kB / 0.8093 GB, free: 2.109 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.1952, allocations: 38.56 kB / 0.8093 GB, free: 2.062 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 1.794e-06/0.1953, allocations: 0 / 0.8093 GB, free: 2.062 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.003802/0.1991, allocations: 2.046 MB / 0.8113 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.1991, allocations: 59.39 kB / 0.8113 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003797/0.1995, allocations: 454.7 kB / 0.8118 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.1995, allocations: 33.7 kB / 0.8118 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.1997, allocations: 387.1 kB / 0.8122 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 9.354e-05/0.1998, allocations: 157.7 kB / 0.8123 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.2, allocations: 110.2 kB / 0.8124 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.2001, allocations: 362.8 kB / 0.8128 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003154/0.2004, allocations: 249.2 kB / 0.813 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000422/0.2008, allocations: 461 kB / 0.8135 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007865/0.2016, allocations: 0.7519 MB / 0.8142 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2016, allocations: 0 / 0.8142 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001653/0.2033, allocations: 1.069 MB / 0.8152 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.2033, allocations: 8 kB / 0.8152 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.2033, allocations: 8.875 kB / 0.8153 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009602/0.2043, allocations: 331.1 kB / 0.8156 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000267/0.2046, allocations: 99.81 kB / 0.8157 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005722/0.2103, allocations: 6.943 MB / 0.8224 GB, free: 3.684 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002951/0.2106, allocations: 36.02 kB / 0.8225 GB, free: 3.648 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.806e-05/0.2107, allocations: 24 kB / 0.8225 GB, free: 3.625 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.0002615/0.2109, allocations: 245.5 kB / 0.8227 GB, free: 3.375 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.2111, allocations: 59.25 kB / 0.8228 GB, free: 3.316 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00158/0.2127, allocations: 0.9159 MB / 0.8237 GB, free: 2.379 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.2127, allocations: 8 kB / 0.8237 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2127, allocations: 4 kB / 0.8237 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.2127, allocations: 3.984 kB / 0.8237 GB, free: 2.363 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002313/0.215, allocations: 1.7 MB / 0.8254 GB, free: 0.5742 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.215, allocations: 4 kB / 0.8254 GB, free: 0.5703 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.2152, allocations: 39.91 kB / 0.8254 GB, free: 0.5312 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008825/0.2161, allocations: 327.2 kB / 0.8257 GB, free: 204 kB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.974e-05/0.2161, allocations: 12 kB / 0.8257 GB, free: 192 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005997/0.2221, allocations: 6.943 MB / 0.8325 GB, free: 8.707 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/0.2221, allocations: 11.92 kB / 0.8325 GB, free: 8.695 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/0.2237, allocations: 1.011 MB / 0.8335 GB, free: 7.637 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002038/0.2239, allocations: 176.4 kB / 0.8337 GB, free: 7.445 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.247e-05/0.224, allocations: 8 kB / 0.8337 GB, free: 7.438 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/0.2243, allocations: 19.97 kB / 0.8337 GB, free: 7.418 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.709e-05/0.2244, allocations: 43.89 kB / 0.8337 GB, free: 7.375 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/0.2244, allocations: 8 kB / 0.8338 GB, free: 7.367 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002936/0.2247, allocations: 310.9 kB / 0.834 GB, free: 7.066 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2247, allocations: 4 kB / 0.8341 GB, free: 7.062 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006965/0.2254, allocations: 192 kB / 0.8342 GB, free: 6.875 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.001754/0.2272, allocations: 1.563 MB / 0.8358 GB, free: 5.25 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001633/0.2288, allocations: 1.206 MB / 0.8369 GB, free: 3.992 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2288, allocations: 0 / 0.8369 GB, free: 3.992 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.2299, allocations: 0.8699 MB / 0.8378 GB, free: 3.07 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008765/0.2308, allocations: 185.1 kB / 0.838 GB, free: 2.895 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007303/0.2381, allocations: 6.236 MB / 0.8441 GB, free: 12.34 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004912/0.2386, allocations: 0.9959 MB / 0.845 GB, free: 11.31 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002787/0.2389, allocations: 101.2 kB / 0.8451 GB, free: 11.21 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002233/0.2391, allocations: 219.4 kB / 0.8453 GB, free: 11 MB / 0.67 GB Notification: Performance of SimCode: time 5.51e-07/0.2391, allocations: 4 kB / 0.8453 GB, free: 10.99 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.224/2.464, allocations: 14.7 MB / 0.8597 GB, free: 12.53 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00022/2.464, allocations: 231.7 kB / 0.8599 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.658/5.121, allocations: 0 / 0.8599 GB, free: 12.27 MB / 0.6856 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)