Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",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.284/1.284, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.0008861/0.000886, allocations: 171.9 kB / 325.8 MB, free: 2.711 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.418/1.418, allocations: 205 MB / 0.576 GB, free: 21.04 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.0007696/0.0007696, allocations: 86.91 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002977/0.0002977, allocations: 9 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1685, allocations: 105.4 MB / 0.8962 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.00512/0.1736, allocations: 6.385 MB / 0.9024 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003266/0.1769, allocations: 3.076 MB / 0.9054 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002613/0.1772, allocations: 19.88 kB / 0.9055 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001651/0.1789, allocations: 0.8851 MB / 0.9063 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006864/0.1796, allocations: 485.6 kB / 0.9068 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007041/0.1803, allocations: 374.2 kB / 0.9072 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000839/0.1811, allocations: 1.587 MB / 0.9087 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006558/0.1818, allocations: 0.6404 MB / 0.9093 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003207/0.1821, allocations: 398.3 kB / 0.9097 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003839/0.1825, allocations: 0.4902 MB / 0.9102 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.215e-05/0.1826, allocations: 32 kB / 0.9102 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005289/0.1831, allocations: 451 kB / 0.9106 GB, free: 53.26 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001865/0.1833, allocations: 271.1 kB / 0.9109 GB, free: 52.99 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002431/0.1836, allocations: 401.8 kB / 0.9113 GB, free: 52.6 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007273/0.1843, allocations: 1.183 MB / 0.9124 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1843, allocations: 0 / 0.9124 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.304e-06/0.1843, allocations: 0 / 0.9124 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.1843, allocations: 0 / 0.9124 GB, free: 51.41 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00123/0.1856, allocations: 0.9972 MB / 0.9134 GB, free: 50.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.1856, allocations: 8.031 kB / 0.9134 GB, free: 50.35 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.733e-05/0.1857, allocations: 126.6 kB / 0.9135 GB, free: 50.22 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/0.187, allocations: 239.6 kB / 0.9138 GB, free: 49.98 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005513/0.1876, allocations: 0.5414 MB / 0.9143 GB, free: 49.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.1876, allocations: 49.67 kB / 0.9144 GB, free: 49.36 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.312e-05/0.1877, allocations: 72.25 kB / 0.9144 GB, free: 49.29 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.1887, allocations: 1.085 MB / 0.9155 GB, free: 48.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.1887, allocations: 4 kB / 0.9155 GB, free: 48.09 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.329e-05/0.1888, allocations: 31.98 kB / 0.9155 GB, free: 48.06 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001064/0.1889, allocations: 93.19 kB / 0.9156 GB, free: 47.97 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008183/0.1897, allocations: 0.7504 MB / 0.9163 GB, free: 47.21 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003297/0.193, allocations: 5.889 MB / 0.9221 GB, free: 40.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007231/0.1938, allocations: 0.557 MB / 0.9226 GB, free: 40.33 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000312/0.1941, allocations: 326 kB / 0.9229 GB, free: 40.01 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.173e-05/0.1941, allocations: 8.375 kB / 0.9229 GB, free: 40 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.1942, allocations: 42.98 kB / 0.923 GB, free: 39.95 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=47): time 1.843e-06/0.1942, allocations: 4 kB / 0.923 GB, free: 39.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.002858/0.197, allocations: 1.99 MB / 0.9249 GB, free: 37.86 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.966e-05/0.1971, allocations: 59.84 kB / 0.925 GB, free: 37.79 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004011/0.1975, allocations: 0.547 MB / 0.9255 GB, free: 37.23 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.1975, allocations: 37.7 kB / 0.9256 GB, free: 37.19 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.1977, allocations: 422.8 kB / 0.926 GB, free: 36.77 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.147e-05/0.1977, allocations: 173.5 kB / 0.9261 GB, free: 36.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.793e-05/0.1978, allocations: 57.69 kB / 0.9262 GB, free: 36.54 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.348e-05/0.1979, allocations: 378.7 kB / 0.9265 GB, free: 36.16 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002949/0.1982, allocations: 273.8 kB / 0.9268 GB, free: 35.89 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003476/0.1985, allocations: 0.4892 MB / 0.9273 GB, free: 35.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006674/0.1992, allocations: 0.8093 MB / 0.9281 GB, free: 34.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1992, allocations: 4 kB / 0.9281 GB, free: 34.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00139/0.2006, allocations: 1.083 MB / 0.9291 GB, free: 33.29 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.2006, allocations: 10.66 kB / 0.9291 GB, free: 33.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.2007, allocations: 11.98 kB / 0.9292 GB, free: 33.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000689/0.2013, allocations: 275.7 kB / 0.9294 GB, free: 32.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003965/0.2018, allocations: 127.7 kB / 0.9295 GB, free: 32.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004093/0.2059, allocations: 6.603 MB / 0.936 GB, free: 25.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004955/0.2064, allocations: 44.03 kB / 0.936 GB, free: 25.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.711e-05/0.2064, allocations: 31.98 kB / 0.9361 GB, free: 25.65 MB / 0.6042 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.0002629/0.2067, allocations: 253.5 kB / 0.9363 GB, free: 25.39 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.135e-05/0.2068, allocations: 67.25 kB / 0.9364 GB, free: 25.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001195/0.208, allocations: 0.8885 MB / 0.9372 GB, free: 24.42 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.208, allocations: 4 kB / 0.9372 GB, free: 24.42 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.208, allocations: 4 kB / 0.9372 GB, free: 24.41 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.208, allocations: 0 / 0.9372 GB, free: 24.41 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001868/0.2099, allocations: 1.728 MB / 0.9389 GB, free: 22.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.2099, allocations: 8.188 kB / 0.9389 GB, free: 22.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002266/0.2101, allocations: 59.89 kB / 0.939 GB, free: 22.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006155/0.2107, allocations: 267.2 kB / 0.9393 GB, free: 22.25 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/0.2108, allocations: 12 kB / 0.9393 GB, free: 22.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003862/0.2147, allocations: 6.603 MB / 0.9457 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.2147, allocations: 4.031 kB / 0.9457 GB, free: 15.1 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.2158, allocations: 0.9874 MB / 0.9467 GB, free: 14.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002466/0.2161, allocations: 188.3 kB / 0.9469 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.247e-05/0.2161, allocations: 15.84 kB / 0.9469 GB, free: 13.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003322/0.2165, allocations: 27.97 kB / 0.9469 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.999e-05/0.2166, allocations: 43.88 kB / 0.9469 GB, free: 13.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/0.2166, allocations: 16 kB / 0.947 GB, free: 13.76 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000292/0.2169, allocations: 383.1 kB / 0.9473 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2169, allocations: 7.938 kB / 0.9473 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000635/0.2175, allocations: 228 kB / 0.9476 GB, free: 13.16 MB / 0.6042 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.001256/0.2188, allocations: 1.536 MB / 0.9491 GB, free: 11.56 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001434/0.2203, allocations: 1.272 MB / 0.9503 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2203, allocations: 4.062 kB / 0.9503 GB, free: 10.23 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008754/0.2212, allocations: 0.897 MB / 0.9512 GB, free: 9.285 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009373/0.2221, allocations: 200.6 kB / 0.9514 GB, free: 9.098 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006328/0.2284, allocations: 6.798 MB / 0.958 GB, free: 1.973 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.2288, allocations: 1.013 MB / 0.959 GB, free: 0.9336 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003753/0.2292, allocations: 130.2 kB / 0.9591 GB, free: 0.8047 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002196/0.2294, allocations: 251.4 kB / 0.9594 GB, free: 0.5586 MB / 0.6042 GB Notification: Performance of SimCode: time 7.01e-07/0.2294, allocations: 0 / 0.9594 GB, free: 0.5586 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.633/0.8624, allocations: 16.33 MB / 0.9753 GB, free: 0.5117 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/0.8626, allocations: 241.2 kB / 0.9755 GB, free: 260 kB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.291/3.153, allocations: 0 / 0.9755 GB, free: 260 kB / 0.6198 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)