Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.43/1.43, allocations: 288.4 MB / 303.6 MB, free: 8.035 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008742/0.0008746, allocations: 175 kB / 372.3 MB, free: 10.15 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.198/1.198, allocations: 205.4 MB / 0.631 GB, free: 9.965 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006425/0.0006425, allocations: 90.91 kB / 0.7444 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003447/0.0003447, allocations: 12.66 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1554, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.003215/0.1586, allocations: 4.256 MB / 0.9844 GB, free: 23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00239/0.161, allocations: 2.356 MB / 0.9867 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002121/0.1613, allocations: 19.81 kB / 0.9867 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002019/0.1615, allocations: 87.2 kB / 0.9868 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007066/0.1622, allocations: 402 kB / 0.9871 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005816/0.1628, allocations: 305.7 kB / 0.9874 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006059/0.1634, allocations: 0.9796 MB / 0.9884 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005187/0.1639, allocations: 464.3 kB / 0.9888 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002441/0.1642, allocations: 290.7 kB / 0.9891 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002673/0.1644, allocations: 322.6 kB / 0.9894 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.875e-05/0.1645, allocations: 20 kB / 0.9894 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000479/0.165, allocations: 475 kB / 0.9899 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.1651, allocations: 155.5 kB / 0.99 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001737/0.1653, allocations: 312.2 kB / 0.9903 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004111/0.1657, allocations: 0.6509 MB / 0.991 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1657, allocations: 4 kB / 0.991 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1657, allocations: 0 / 0.991 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.1657, allocations: 0 / 0.991 GB, free: 16.16 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.000888/0.1666, allocations: 0.8296 MB / 0.9918 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1667, allocations: 8.031 kB / 0.9918 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.881e-05/0.1667, allocations: 102.6 kB / 0.9919 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009651/0.1677, allocations: 199.9 kB / 0.9921 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004494/0.1682, allocations: 498.3 kB / 0.9926 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.1682, allocations: 29.38 kB / 0.9926 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.636e-05/0.1683, allocations: 52.27 kB / 0.9926 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007291/0.169, allocations: 0.8446 MB / 0.9935 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.169, allocations: 7.938 kB / 0.9935 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.888e-05/0.1691, allocations: 23.98 kB / 0.9935 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.57e-05/0.1691, allocations: 64.95 kB / 0.9936 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005961/0.1697, allocations: 0.5616 MB / 0.9941 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002521/0.1723, allocations: 5.654 MB / 0.9996 GB, free: 6.688 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004526/0.1727, allocations: 454.3 kB / 1 GB, free: 6.234 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002191/0.173, allocations: 232.7 kB / 1 GB, free: 6.004 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.173, allocations: 4 kB / 1 GB, free: 6 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.173, allocations: 34.56 kB / 1 GB, free: 5.957 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 1.713e-06/0.173, allocations: 0 / 1 GB, free: 5.957 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.001908/0.1749, allocations: 1.515 MB / 1.002 GB, free: 4.328 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.171e-05/0.175, allocations: 55.41 kB / 1.002 GB, free: 4.262 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003176/0.1753, allocations: 487 kB / 1.002 GB, free: 3.773 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.1753, allocations: 33.7 kB / 1.002 GB, free: 3.734 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.1755, allocations: 362.7 kB / 1.003 GB, free: 3.371 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.149e-05/0.1755, allocations: 118.3 kB / 1.003 GB, free: 3.254 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.835e-05/0.1755, allocations: 12 kB / 1.003 GB, free: 3.242 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.682e-05/0.1756, allocations: 366.8 kB / 1.003 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002052/0.1758, allocations: 193.2 kB / 1.003 GB, free: 2.688 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002675/0.1761, allocations: 443 kB / 1.004 GB, free: 2.137 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005225/0.1766, allocations: 0.6836 MB / 1.004 GB, free: 1.336 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1766, allocations: 4 kB / 1.004 GB, free: 1.332 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009001/0.1775, allocations: 0.8013 MB / 1.005 GB, free: 0.5078 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1776, allocations: 8 kB / 1.005 GB, free: 0.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.1776, allocations: 8 kB / 1.005 GB, free: 0.4922 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003954/0.178, allocations: 156.9 kB / 1.005 GB, free: 332 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003626/0.1783, allocations: 123.7 kB / 1.006 GB, free: 208 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002744/0.1811, allocations: 4.04 MB / 1.009 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003113/0.1814, allocations: 31.97 kB / 1.009 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.1815, allocations: 28 kB / 1.01 GB, free: 11.7 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002189/0.1817, allocations: 214.7 kB / 1.01 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.083e-05/0.1818, allocations: 55.34 kB / 1.01 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009047/0.1827, allocations: 0.6005 MB / 1.01 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1827, allocations: 4 kB / 1.01 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1827, allocations: 3.938 kB / 1.01 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.1827, allocations: 4 kB / 1.01 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001559/0.1843, allocations: 1.259 MB / 1.012 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.1843, allocations: 0 / 1.012 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002321/0.1845, allocations: 64.05 kB / 1.012 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003615/0.1849, allocations: 136.2 kB / 1.012 GB, free: 9.238 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.1849, allocations: 8 kB / 1.012 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002581/0.1875, allocations: 4.032 MB / 1.016 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.1875, allocations: 4.031 kB / 1.016 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008476/0.1884, allocations: 0.7082 MB / 1.016 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/0.1886, allocations: 176.2 kB / 1.017 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.936e-05/0.1886, allocations: 8 kB / 1.017 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.1889, allocations: 23.97 kB / 1.017 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.481e-05/0.1889, allocations: 27.95 kB / 1.017 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.189, allocations: 12 kB / 1.017 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002812/0.1892, allocations: 330.8 kB / 1.017 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1893, allocations: 0 / 1.017 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005309/0.1898, allocations: 148 kB / 1.017 GB, free: 3.305 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001043/0.1908, allocations: 1.251 MB / 1.018 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001136/0.192, allocations: 1.029 MB / 1.019 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.192, allocations: 4 kB / 1.019 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006845/0.1927, allocations: 0.7388 MB / 1.02 GB, free: 60 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009679/0.1937, allocations: 185.3 kB / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003901/0.1976, allocations: 3.437 MB / 1.024 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.198, allocations: 0.9175 MB / 1.025 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003243/0.1983, allocations: 117.3 kB / 1.025 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000206/0.1985, allocations: 195.9 kB / 1.025 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of SimCode: time 5.31e-07/0.1985, allocations: 0 / 1.025 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5329/0.7315, allocations: 12.17 MB / 1.037 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001943/0.7317, allocations: 231.1 kB / 1.037 GB, free: 14.83 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.386/3.118, allocations: 8 kB / 1.037 GB, free: 14.82 MB / 0.6667 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)