Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.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.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_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_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009439/0.0009439, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009978/0.0009978, allocations: 195.7 kB / 16.25 MB, free: 6.621 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.219/1.219, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.581/1.581, allocations: 292.3 MB / 0.5486 GB, free: 13.6 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.001364/0.001364, allocations: 68.67 kB / 0.6711 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1694, allocations: 114.6 MB / 0.783 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.007492/0.1769, allocations: 6.703 MB / 0.7895 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00421/0.1812, allocations: 3.037 MB / 0.7925 GB, free: 4 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004373/0.1816, allocations: 31.75 kB / 0.7925 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002104/0.1837, allocations: 0.8834 MB / 0.7934 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000925/0.1847, allocations: 469.7 kB / 0.7938 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008411/0.1855, allocations: 387.3 kB / 0.7942 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009942/0.1865, allocations: 1.224 MB / 0.7954 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008289/0.1874, allocations: 0.7405 MB / 0.7961 GB, free: 276 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004388/0.1878, allocations: 478.2 kB / 0.7966 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000516/0.1883, allocations: 0.5371 MB / 0.7971 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 8.469e-05/0.1884, allocations: 71.94 kB / 0.7972 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004889/0.1889, allocations: 375.3 kB / 0.7975 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002457/0.1892, allocations: 311.2 kB / 0.7978 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003429/0.1895, allocations: 445.7 kB / 0.7983 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0009809/0.1905, allocations: 1.23 MB / 0.7995 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1905, allocations: 4 kB / 0.7995 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1905, allocations: 0 / 0.7995 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.54e-05/0.1906, allocations: 0 / 0.7995 GB, free: 12.84 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.001588/0.1922, allocations: 1.157 MB / 0.8006 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.1922, allocations: 8.031 kB / 0.8006 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001284/0.1923, allocations: 122.7 kB / 0.8007 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001469/0.1938, allocations: 235.6 kB / 0.8009 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006687/0.1945, allocations: 0.5491 MB / 0.8015 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.559e-05/0.1945, allocations: 53.61 kB / 0.8015 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.569e-05/0.1946, allocations: 64.36 kB / 0.8016 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.196, allocations: 1.081 MB / 0.8026 GB, free: 9.375 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.196, allocations: 7.938 kB / 0.8026 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.815e-05/0.1961, allocations: 31.98 kB / 0.8027 GB, free: 9.336 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001357/0.1962, allocations: 85.25 kB / 0.8028 GB, free: 9.25 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.1973, allocations: 0.7543 MB / 0.8035 GB, free: 8.496 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00447/0.2017, allocations: 5.889 MB / 0.8092 GB, free: 2.18 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008762/0.2026, allocations: 0.5508 MB / 0.8098 GB, free: 1.617 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003955/0.203, allocations: 333.9 kB / 0.8101 GB, free: 1.289 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.488e-05/0.2031, allocations: 4.438 kB / 0.8101 GB, free: 1.285 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.2031, allocations: 39 kB / 0.8101 GB, free: 1.238 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 2.104e-06/0.2031, allocations: 0 / 0.8101 GB, free: 1.238 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.003455/0.2066, allocations: 1.986 MB / 0.8121 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.2066, allocations: 55.84 kB / 0.8121 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005133/0.2071, allocations: 0.5547 MB / 0.8127 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.119e-05/0.2072, allocations: 41.64 kB / 0.8127 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002198/0.2074, allocations: 418.9 kB / 0.8131 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.2075, allocations: 169.6 kB / 0.8133 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001764/0.2077, allocations: 130.4 kB / 0.8134 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.2079, allocations: 378.7 kB / 0.8138 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003707/0.2082, allocations: 269.8 kB / 0.814 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004834/0.2087, allocations: 497 kB / 0.8145 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009076/0.2096, allocations: 0.8055 MB / 0.8153 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.2096, allocations: 8 kB / 0.8153 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001647/0.2113, allocations: 1.083 MB / 0.8164 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.2113, allocations: 8 kB / 0.8164 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.2113, allocations: 8.062 kB / 0.8164 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007783/0.2121, allocations: 291 kB / 0.8166 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004487/0.2126, allocations: 123.8 kB / 0.8168 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005814/0.2184, allocations: 7.138 MB / 0.8237 GB, free: 2.398 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004708/0.2189, allocations: 43.95 kB / 0.8238 GB, free: 2.355 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.483e-05/0.2189, allocations: 28 kB / 0.8238 GB, free: 2.328 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.0002701/0.2192, allocations: 253.5 kB / 0.824 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.733e-05/0.2193, allocations: 71.16 kB / 0.8241 GB, free: 2 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/0.2208, allocations: 0.8886 MB / 0.825 GB, free: 1.09 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.2208, allocations: 4 kB / 0.825 GB, free: 1.086 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2208, allocations: 4 kB / 0.825 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.2208, allocations: 4.031 kB / 0.825 GB, free: 1.078 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002314/0.2231, allocations: 1.724 MB / 0.8267 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.2231, allocations: 3.938 kB / 0.8267 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002524/0.2234, allocations: 63.89 kB / 0.8267 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007041/0.2241, allocations: 267.2 kB / 0.827 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.195e-05/0.2242, allocations: 12 kB / 0.827 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005698/0.2299, allocations: 7.127 MB / 0.834 GB, free: 7.223 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.2299, allocations: 0 / 0.834 GB, free: 7.223 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.2312, allocations: 0.9839 MB / 0.8349 GB, free: 6.195 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002227/0.2315, allocations: 196.2 kB / 0.8351 GB, free: 5.984 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.495e-05/0.2316, allocations: 23.88 kB / 0.8351 GB, free: 5.961 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003462/0.2319, allocations: 27.97 kB / 0.8352 GB, free: 5.934 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.89e-05/0.232, allocations: 43.95 kB / 0.8352 GB, free: 5.891 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.021e-05/0.232, allocations: 16 kB / 0.8352 GB, free: 5.875 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003673/0.2324, allocations: 383.1 kB / 0.8356 GB, free: 5.508 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2324, allocations: 0 / 0.8356 GB, free: 5.508 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006971/0.2331, allocations: 224 kB / 0.8358 GB, free: 5.289 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.001611/0.2347, allocations: 1.551 MB / 0.8373 GB, free: 3.68 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001827/0.2366, allocations: 1.338 MB / 0.8386 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.2366, allocations: 4 kB / 0.8386 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001114/0.2377, allocations: 0.8816 MB / 0.8395 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009295/0.2387, allocations: 220.9 kB / 0.8397 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007797/0.2465, allocations: 6.799 MB / 0.8463 GB, free: 10.01 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005151/0.247, allocations: 1.013 MB / 0.8473 GB, free: 8.973 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0003945/0.2474, allocations: 122 kB / 0.8474 GB, free: 8.852 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002771/0.2477, allocations: 247.4 kB / 0.8477 GB, free: 8.609 MB / 0.67 GB Notification: Performance of SimCode: time 9.42e-07/0.2477, allocations: 0 / 0.8477 GB, free: 8.609 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.862/1.11, allocations: 17.12 MB / 0.8644 GB, free: 7.793 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001856/1.11, allocations: 225.4 kB / 0.8646 GB, free: 7.539 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.156/3.266, allocations: 4.062 kB / 0.8646 GB, free: 7.535 MB / 0.6856 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)