Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.32/1.32, allocations: 251.5 MB / 266.7 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009813/0.0009813, allocations: 189 kB / 325.9 MB, free: 2.684 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.331/1.331, allocations: 205 MB / 0.576 GB, free: 20.89 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000666/0.000666, allocations: 95.78 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003243/0.0003243, allocations: 14.25 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1588, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.003718/0.1626, allocations: 4.562 MB / 0.9007 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002597/0.1652, allocations: 2.507 MB / 0.9031 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002011/0.1654, allocations: 23.81 kB / 0.9031 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0008539/0.1663, allocations: 369.6 kB / 0.9035 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005877/0.1669, allocations: 406 kB / 0.9039 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005332/0.1674, allocations: 339.4 kB / 0.9042 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006264/0.168, allocations: 1.128 MB / 0.9053 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004175/0.1685, allocations: 351.2 kB / 0.9056 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002474/0.1687, allocations: 290.6 kB / 0.9059 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002724/0.169, allocations: 334.5 kB / 0.9062 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.303e-05/0.1691, allocations: 20 kB / 0.9063 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004919/0.1696, allocations: 499 kB / 0.9067 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.1697, allocations: 167.3 kB / 0.9069 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001749/0.1699, allocations: 286.3 kB / 0.9072 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005881/0.1705, allocations: 0.8757 MB / 0.908 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1705, allocations: 0 / 0.908 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1705, allocations: 0 / 0.908 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.226e-06/0.1705, allocations: 4 kB / 0.908 GB, free: 55.91 MB / 0.6042 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.0008858/0.1714, allocations: 0.8335 MB / 0.9088 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.1714, allocations: 12.03 kB / 0.9088 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.93e-05/0.1715, allocations: 86.7 kB / 0.9089 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.1726, allocations: 207.8 kB / 0.9091 GB, free: 54.72 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004778/0.1731, allocations: 498.3 kB / 0.9096 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.1731, allocations: 37.36 kB / 0.9096 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.529e-05/0.1732, allocations: 44.36 kB / 0.9097 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007405/0.1739, allocations: 0.8446 MB / 0.9105 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.174, allocations: 7.938 kB / 0.9105 GB, free: 53.13 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.961e-05/0.174, allocations: 20 kB / 0.9105 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-05/0.1741, allocations: 68.89 kB / 0.9106 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006645/0.1748, allocations: 0.5656 MB / 0.9111 GB, free: 52.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002637/0.1774, allocations: 5.65 MB / 0.9167 GB, free: 46.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004687/0.1779, allocations: 462.2 kB / 0.9171 GB, free: 45.96 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002289/0.1781, allocations: 228.7 kB / 0.9173 GB, free: 45.74 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.1782, allocations: 8 kB / 0.9173 GB, free: 45.73 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.491e-05/0.1782, allocations: 38.5 kB / 0.9174 GB, free: 45.68 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=32): time 2.775e-06/0.1782, allocations: 0 / 0.9174 GB, free: 45.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.001952/0.1802, allocations: 1.505 MB / 0.9188 GB, free: 44.07 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.04e-05/0.1802, allocations: 55.39 kB / 0.9189 GB, free: 44 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003383/0.1805, allocations: 0.4989 MB / 0.9194 GB, free: 43.49 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.1806, allocations: 33.64 kB / 0.9194 GB, free: 43.45 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.1807, allocations: 350.8 kB / 0.9197 GB, free: 43.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.418e-05/0.1808, allocations: 118.4 kB / 0.9199 GB, free: 42.98 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.174e-05/0.1808, allocations: 53.69 kB / 0.9199 GB, free: 42.93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.855e-05/0.1809, allocations: 362.8 kB / 0.9203 GB, free: 42.56 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/0.1811, allocations: 197.2 kB / 0.9204 GB, free: 42.37 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003255/0.1814, allocations: 443 kB / 0.9209 GB, free: 41.82 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006355/0.1821, allocations: 0.6916 MB / 0.9215 GB, free: 41.01 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1821, allocations: 3.938 kB / 0.9215 GB, free: 41.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001063/0.1832, allocations: 0.8055 MB / 0.9223 GB, free: 40.18 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.1832, allocations: 8 kB / 0.9223 GB, free: 40.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.1832, allocations: 8 kB / 0.9223 GB, free: 40.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004464/0.1837, allocations: 160.4 kB / 0.9225 GB, free: 39.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003875/0.1841, allocations: 123.8 kB / 0.9226 GB, free: 39.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001966/0.186, allocations: 4.032 MB / 0.9266 GB, free: 35.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003129/0.1864, allocations: 40.03 kB / 0.9266 GB, free: 35.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-05/0.1864, allocations: 28 kB / 0.9266 GB, free: 35.37 MB / 0.6042 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 (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000169/0.1866, allocations: 206.4 kB / 0.9268 GB, free: 35.16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.645e-05/0.1867, allocations: 63.25 kB / 0.9269 GB, free: 35.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007963/0.1875, allocations: 0.6124 MB / 0.9275 GB, free: 34.46 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.1875, allocations: 7.938 kB / 0.9275 GB, free: 34.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1875, allocations: 7.922 kB / 0.9275 GB, free: 34.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1875, allocations: 0 / 0.9275 GB, free: 34.45 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.1888, allocations: 1.25 MB / 0.9287 GB, free: 33.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.1888, allocations: 4 kB / 0.9287 GB, free: 33.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002278/0.1891, allocations: 51.95 kB / 0.9288 GB, free: 33.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003421/0.1894, allocations: 144.3 kB / 0.9289 GB, free: 32.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.1894, allocations: 11.94 kB / 0.9289 GB, free: 32.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001883/0.1913, allocations: 4.028 MB / 0.9328 GB, free: 28.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1913, allocations: 7.969 kB / 0.9329 GB, free: 28.45 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007351/0.1921, allocations: 0.6961 MB / 0.9335 GB, free: 27.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.1922, allocations: 172.2 kB / 0.9337 GB, free: 27.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.704e-05/0.1923, allocations: 8 kB / 0.9337 GB, free: 27.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.1925, allocations: 23.97 kB / 0.9337 GB, free: 27.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.551e-05/0.1926, allocations: 31.97 kB / 0.9338 GB, free: 27.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.1926, allocations: 15.98 kB / 0.9338 GB, free: 27.43 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002471/0.1929, allocations: 326.9 kB / 0.9341 GB, free: 27.12 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1929, allocations: 0 / 0.9341 GB, free: 27.12 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004972/0.1934, allocations: 140 kB / 0.9342 GB, free: 26.98 MB / 0.6042 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 (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009301/0.1943, allocations: 1.274 MB / 0.9355 GB, free: 25.64 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001015/0.1954, allocations: 1.037 MB / 0.9365 GB, free: 24.52 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1954, allocations: 4.125 kB / 0.9365 GB, free: 24.52 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005882/0.196, allocations: 0.7301 MB / 0.9372 GB, free: 23.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009522/0.1969, allocations: 185.7 kB / 0.9374 GB, free: 23.53 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00473/0.2017, allocations: 5.394 MB / 0.9426 GB, free: 17.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.2019, allocations: 0.9097 MB / 0.9435 GB, free: 16.81 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003202/0.2023, allocations: 117.3 kB / 0.9436 GB, free: 16.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001811/0.2025, allocations: 195.4 kB / 0.9438 GB, free: 16.5 MB / 0.6042 GB Notification: Performance of SimCode: time 3.21e-07/0.2025, allocations: 0 / 0.9438 GB, free: 16.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.15/0.3525, allocations: 12.02 MB / 0.9556 GB, free: 4.75 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001949/0.3528, allocations: 240.2 kB / 0.9558 GB, free: 4.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.256/2.609, allocations: 4.062 kB / 0.9558 GB, free: 4.496 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)