Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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_R,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",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.001044/0.001044, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001103/0.001103, allocations: 194.9 kB / 16.14 MB, free: 6.715 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.258/1.258, allocations: 205.1 MB / 222 MB, free: 4.738 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.524/1.524, allocations: 292.3 MB / 0.5484 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.001323/0.001323, allocations: 69.67 kB / 0.6709 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1643, allocations: 114.5 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.007038/0.1714, allocations: 6.762 MB / 0.7894 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003694/0.1751, allocations: 3.091 MB / 0.7924 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002075/0.1753, allocations: 27.81 kB / 0.7925 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001847/0.1772, allocations: 0.8906 MB / 0.7933 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000675/0.1779, allocations: 481.7 kB / 0.7938 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006737/0.1786, allocations: 407 kB / 0.7942 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001142/0.1797, allocations: 1.599 MB / 0.7957 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007607/0.1805, allocations: 0.6445 MB / 0.7964 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003797/0.1809, allocations: 422.2 kB / 0.7968 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004906/0.1814, allocations: 0.5215 MB / 0.7973 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 7.926e-05/0.1815, allocations: 51.94 kB / 0.7973 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005694/0.182, allocations: 451.1 kB / 0.7978 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002303/0.1823, allocations: 291.2 kB / 0.798 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003568/0.1826, allocations: 433.7 kB / 0.7985 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0009484/0.1836, allocations: 1.207 MB / 0.7996 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1836, allocations: 3.938 kB / 0.7996 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1836, allocations: 0 / 0.7996 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.1836, allocations: 0 / 0.7996 GB, free: 12.6 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001542/0.1852, allocations: 1.176 MB / 0.8008 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.1852, allocations: 8.031 kB / 0.8008 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001211/0.1853, allocations: 118.7 kB / 0.8009 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001423/0.1868, allocations: 239.6 kB / 0.8011 GB, free: 11 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006654/0.1874, allocations: 0.5492 MB / 0.8017 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.123e-05/0.1875, allocations: 49.67 kB / 0.8017 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-05/0.1876, allocations: 68.3 kB / 0.8018 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.1888, allocations: 1.089 MB / 0.8028 GB, free: 9.105 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.1889, allocations: 11.92 kB / 0.8029 GB, free: 9.094 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.316e-05/0.1889, allocations: 31.98 kB / 0.8029 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001272/0.1891, allocations: 85.25 kB / 0.803 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/0.1901, allocations: 0.7504 MB / 0.8037 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004423/0.1945, allocations: 5.889 MB / 0.8095 GB, free: 1.91 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008549/0.1954, allocations: 0.5515 MB / 0.81 GB, free: 1.344 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003878/0.1958, allocations: 326 kB / 0.8103 GB, free: 1.023 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/0.1958, allocations: 12.44 kB / 0.8103 GB, free: 1.012 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.1959, allocations: 46.94 kB / 0.8104 GB, free: 0.957 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 1.543e-06/0.1959, allocations: 0 / 0.8104 GB, free: 0.957 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.003346/0.1992, allocations: 1.982 MB / 0.8123 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.1993, allocations: 63.83 kB / 0.8124 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005245/0.1998, allocations: 0.5587 MB / 0.8129 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.1999, allocations: 33.7 kB / 0.8129 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000234/0.2001, allocations: 414.9 kB / 0.8133 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.2002, allocations: 169.6 kB / 0.8135 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/0.2004, allocations: 122.5 kB / 0.8136 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.2005, allocations: 390.6 kB / 0.814 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003759/0.2009, allocations: 277.8 kB / 0.8142 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004822/0.2014, allocations: 493 kB / 0.8147 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000891/0.2023, allocations: 0.8093 MB / 0.8155 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.2023, allocations: 0 / 0.8155 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00161/0.2039, allocations: 1.087 MB / 0.8166 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.2039, allocations: 8 kB / 0.8166 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.2039, allocations: 8 kB / 0.8166 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007633/0.2047, allocations: 287.7 kB / 0.8169 GB, free: 9.938 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004317/0.2052, allocations: 123.8 kB / 0.817 GB, free: 9.816 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005396/0.2106, allocations: 6.595 MB / 0.8234 GB, free: 2.684 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004357/0.211, allocations: 39.89 kB / 0.8235 GB, free: 2.645 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.567e-05/0.2111, allocations: 40.05 kB / 0.8235 GB, free: 2.605 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002707/0.2113, allocations: 254.6 kB / 0.8237 GB, free: 2.348 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.662e-05/0.2114, allocations: 71.16 kB / 0.8238 GB, free: 2.277 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/0.2129, allocations: 0.8925 MB / 0.8247 GB, free: 1.359 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.2129, allocations: 4 kB / 0.8247 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.2129, allocations: 4 kB / 0.8247 GB, free: 1.352 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.2129, allocations: 3.984 kB / 0.8247 GB, free: 1.348 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002255/0.2152, allocations: 1.72 MB / 0.8264 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.2152, allocations: 192 / 0.8264 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/0.2154, allocations: 71.88 kB / 0.8264 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006939/0.2161, allocations: 271.3 kB / 0.8267 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-05/0.2162, allocations: 12 kB / 0.8267 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005305/0.2215, allocations: 6.583 MB / 0.8331 GB, free: 8.059 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2215, allocations: 0 / 0.8331 GB, free: 8.059 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001329/0.2228, allocations: 0.9915 MB / 0.8341 GB, free: 7.023 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002083/0.223, allocations: 192.2 kB / 0.8343 GB, free: 6.816 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.134e-05/0.2231, allocations: 23.86 kB / 0.8343 GB, free: 6.793 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003255/0.2235, allocations: 31.97 kB / 0.8343 GB, free: 6.762 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.161e-05/0.2236, allocations: 35.95 kB / 0.8344 GB, free: 6.727 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/0.2236, allocations: 12 kB / 0.8344 GB, free: 6.715 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003733/0.224, allocations: 395.1 kB / 0.8348 GB, free: 6.336 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.224, allocations: 0 / 0.8348 GB, free: 6.336 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006263/0.2246, allocations: 224 kB / 0.835 GB, free: 6.117 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0016/0.2262, allocations: 1.544 MB / 0.8365 GB, free: 4.512 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001676/0.2279, allocations: 1.275 MB / 0.8377 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.2279, allocations: 0 / 0.8377 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.229, allocations: 0.8854 MB / 0.8386 GB, free: 2.246 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008796/0.2299, allocations: 208.6 kB / 0.8388 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007626/0.2375, allocations: 6.844 MB / 0.8455 GB, free: 10.87 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005004/0.238, allocations: 1.013 MB / 0.8465 GB, free: 9.828 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0003726/0.2384, allocations: 126 kB / 0.8466 GB, free: 9.703 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000291/0.2387, allocations: 251.4 kB / 0.8468 GB, free: 9.457 MB / 0.67 GB Notification: Performance of SimCode: time 3.1e-07/0.2387, allocations: 0 / 0.8468 GB, free: 9.457 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.506/1.745, allocations: 16.71 MB / 0.8631 GB, free: 9.07 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.05464/1.799, allocations: 249.3 kB / 0.8634 GB, free: 8.809 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.6/4.4, allocations: 0 / 0.8634 GB, free: 8.809 MB / 0.6856 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)