Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.ACSimpleGrid,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",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.000864/0.0008641, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004991/0.004991, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.209/1.209, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.499/1.499, allocations: 292.7 MB / 0.5502 GB, free: 14.43 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.0004696/0.0004697, allocations: 18.44 kB / 0.6744 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1661, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.004088/0.1702, allocations: 4.013 MB / 0.7919 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003836/0.1741, allocations: 3.196 MB / 0.795 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002092/0.1743, allocations: 11.94 kB / 0.7951 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004941/0.1748, allocations: 171 kB / 0.7952 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007392/0.1756, allocations: 354.5 kB / 0.7956 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004733/0.1761, allocations: 228.7 kB / 0.7958 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006966/0.1768, allocations: 0.7945 MB / 0.7966 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00104/0.1778, allocations: 0.8177 MB / 0.7974 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003142/0.1781, allocations: 231.1 kB / 0.7976 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002966/0.1785, allocations: 247 kB / 0.7978 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.425e-05/0.1785, allocations: 16 kB / 0.7978 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004153/0.1789, allocations: 319.4 kB / 0.7981 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.1791, allocations: 135.5 kB / 0.7983 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001672/0.1792, allocations: 220.6 kB / 0.7985 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006098/0.1798, allocations: 0.7632 MB / 0.7992 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1799, allocations: 0 / 0.7992 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1799, allocations: 3.938 kB / 0.7992 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.1799, allocations: 4 kB / 0.7992 GB, free: 15.89 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0009088/0.1808, allocations: 0.6858 MB / 0.7999 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.1808, allocations: 8.031 kB / 0.7999 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.246e-05/0.1809, allocations: 66.72 kB / 0.8 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00245/0.1834, allocations: 0.675 MB / 0.8006 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004985/0.1839, allocations: 439.9 kB / 0.801 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.1839, allocations: 21.03 kB / 0.8011 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.807e-05/0.184, allocations: 39.88 kB / 0.8011 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.1853, allocations: 0.7903 MB / 0.8019 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.1853, allocations: 11.84 kB / 0.8019 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.345e-05/0.1854, allocations: 12 kB / 0.8019 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.594e-05/0.1855, allocations: 40.61 kB / 0.8019 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001799/0.1873, allocations: 0.8726 MB / 0.8028 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003111/0.1904, allocations: 2.815 MB / 0.8055 GB, free: 9.074 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/0.192, allocations: 0.5253 MB / 0.806 GB, free: 8.539 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000642/0.1926, allocations: 252.6 kB / 0.8063 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 8.672e-05/0.1927, allocations: 93.09 kB / 0.8064 GB, free: 8.18 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.1927, allocations: 30.56 kB / 0.8064 GB, free: 8.141 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=16): time 1.172e-06/0.1928, allocations: 0 / 0.8064 GB, free: 8.141 MB / 0.6231 GB Notification: Performance of matching and sorting (n=24): time 0.01043/0.2032, allocations: 3.114 MB / 0.8094 GB, free: 4.996 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.2032, allocations: 59.39 kB / 0.8095 GB, free: 4.926 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003731/0.2036, allocations: 401.6 kB / 0.8099 GB, free: 4.523 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/0.2037, allocations: 29.7 kB / 0.8099 GB, free: 4.488 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.2038, allocations: 235.7 kB / 0.8101 GB, free: 4.254 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.744e-05/0.2039, allocations: 82.84 kB / 0.8102 GB, free: 4.172 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.844e-05/0.2039, allocations: 29.7 kB / 0.8102 GB, free: 4.137 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.814e-05/0.204, allocations: 346.8 kB / 0.8106 GB, free: 3.789 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008263/0.2049, allocations: 363.5 kB / 0.8109 GB, free: 3.434 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008443/0.2057, allocations: 429.1 kB / 0.8113 GB, free: 2.984 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001658/0.2074, allocations: 0.7661 MB / 0.8121 GB, free: 2.191 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2074, allocations: 0 / 0.8121 GB, free: 2.191 MB / 0.6231 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004686/0.2121, allocations: 1.522 MB / 0.8136 GB, free: 0.6562 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.97e-05/0.2122, allocations: 148 kB / 0.8137 GB, free: 492 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.2122, allocations: 0 / 0.8137 GB, free: 492 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003521/0.2157, allocations: 0.8207 MB / 0.8145 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005471/0.2163, allocations: 139.8 kB / 0.8146 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3238/0.5401, allocations: 4.534 MB / 0.8191 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008062/0.5409, allocations: 119.9 kB / 0.8192 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.712e-05/0.541, allocations: 15.98 kB / 0.8192 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.015e-06/0.541, allocations: 0 / 0.8192 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0038/0.5448, allocations: 1.245 MB / 0.8204 GB, free: 9.336 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.5448, allocations: 4 kB / 0.8204 GB, free: 9.332 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002288/0.5471, allocations: 0.5432 MB / 0.821 GB, free: 8.785 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005648/0.5477, allocations: 135.7 kB / 0.8211 GB, free: 8.652 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003982/0.5517, allocations: 2.701 MB / 0.8237 GB, free: 5.816 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006474/0.5523, allocations: 111.9 kB / 0.8238 GB, free: 5.707 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.328e-05/0.5524, allocations: 16 kB / 0.8238 GB, free: 5.691 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003178/0.5527, allocations: 316.9 kB / 0.8241 GB, free: 5.371 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.76e-05/0.5528, allocations: 31.62 kB / 0.8242 GB, free: 5.34 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004191/0.557, allocations: 1.402 MB / 0.8255 GB, free: 3.926 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.557, allocations: 4 kB / 0.8255 GB, free: 3.922 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.557, allocations: 0 / 0.8255 GB, free: 3.922 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.557, allocations: 3.938 kB / 0.8255 GB, free: 3.918 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004796/0.5618, allocations: 2.04 MB / 0.8275 GB, free: 1.801 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.5618, allocations: 4 kB / 0.8275 GB, free: 1.797 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003627/0.5622, allocations: 79.84 kB / 0.8276 GB, free: 1.719 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003119/0.5653, allocations: 0.7623 MB / 0.8284 GB, free: 0.9492 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.796e-05/0.5654, allocations: 4 kB / 0.8284 GB, free: 0.9453 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004868/0.5702, allocations: 4.364 MB / 0.8326 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.5702, allocations: 7.969 kB / 0.8326 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003977/0.5742, allocations: 1.407 MB / 0.834 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001833/0.5744, allocations: 176.6 kB / 0.8342 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.203e-05/0.5745, allocations: 7.938 kB / 0.8342 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005322/0.575, allocations: 95.86 kB / 0.8343 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.5751, allocations: 27.89 kB / 0.8343 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-05/0.5752, allocations: 8 kB / 0.8343 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002927/0.5755, allocations: 299.1 kB / 0.8346 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.302e-06/0.5755, allocations: 4 kB / 0.8346 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006979/0.5762, allocations: 203.9 kB / 0.8348 GB, free: 10.05 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004346/0.5805, allocations: 1.978 MB / 0.8367 GB, free: 8.031 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003999/0.5845, allocations: 1.722 MB / 0.8384 GB, free: 6.27 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.5846, allocations: 0 / 0.8384 GB, free: 6.27 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.5856, allocations: 0.6418 MB / 0.839 GB, free: 5.602 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006374/0.5863, allocations: 120.4 kB / 0.8392 GB, free: 5.488 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0139/0.6002, allocations: 6.754 MB / 0.8458 GB, free: 14.57 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004523/0.6007, allocations: 0.9209 MB / 0.8466 GB, free: 13.62 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004679/0.6011, allocations: 159.2 kB / 0.8468 GB, free: 13.46 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002229/0.6014, allocations: 131.4 kB / 0.8469 GB, free: 13.34 MB / 0.67 GB Notification: Performance of SimCode: time 4.71e-07/0.6014, allocations: 0 / 0.8469 GB, free: 13.34 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.735/2.336, allocations: 15.24 MB / 0.8618 GB, free: 14.33 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000194/2.336, allocations: 252.6 kB / 0.8621 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.244/4.58, allocations: 0 / 0.8621 GB, free: 14.07 MB / 0.6856 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)