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.000826/0.0008261, allocations: 91.14 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.004631/0.004631, allocations: 171 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.138/1.138, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.554/1.554, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0004641/0.0004642, allocations: 17.03 kB / 0.6744 GB, free: 25.63 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1669, 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.ACLine_R): time 0.006173/0.1731, allocations: 6.283 MB / 0.7941 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004095/0.1772, allocations: 3.025 MB / 0.7971 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004645/0.1777, allocations: 23.81 kB / 0.7971 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003732/0.1781, allocations: 130.9 kB / 0.7972 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001021/0.1791, allocations: 489.7 kB / 0.7977 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008228/0.1799, allocations: 379.3 kB / 0.7981 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001236/0.1812, allocations: 1.587 MB / 0.7996 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001394/0.1826, allocations: 1.019 MB / 0.8006 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003709/0.183, allocations: 386.3 kB / 0.801 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004846/0.1835, allocations: 498 kB / 0.8015 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 6.037e-05/0.1835, allocations: 36 kB / 0.8015 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005672/0.1841, allocations: 443.1 kB / 0.8019 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002154/0.1843, allocations: 275.1 kB / 0.8022 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003057/0.1846, allocations: 427.5 kB / 0.8026 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.000905/0.1855, allocations: 1.191 MB / 0.8038 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1856, allocations: 4 kB / 0.8038 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1856, allocations: 0 / 0.8038 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.1856, allocations: 0 / 0.8038 GB, free: 11.25 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.00135/0.1869, allocations: 0.9934 MB / 0.8047 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.187, allocations: 12.03 kB / 0.8047 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001214/0.1871, allocations: 122.7 kB / 0.8049 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001382/0.1885, allocations: 235.5 kB / 0.8051 GB, free: 9.828 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000628/0.1891, allocations: 0.553 MB / 0.8056 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.193e-05/0.1892, allocations: 41.69 kB / 0.8057 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.727e-05/0.1893, allocations: 72.36 kB / 0.8057 GB, free: 9.129 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.1905, allocations: 1.081 MB / 0.8068 GB, free: 7.941 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/0.1906, allocations: 7.938 kB / 0.8068 GB, free: 7.934 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.565e-05/0.1906, allocations: 31.94 kB / 0.8068 GB, free: 7.902 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001343/0.1908, allocations: 85.25 kB / 0.8069 GB, free: 7.816 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009946/0.1918, allocations: 0.7543 MB / 0.8076 GB, free: 7.062 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004222/0.196, allocations: 5.901 MB / 0.8134 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008318/0.1968, allocations: 0.5477 MB / 0.8139 GB, free: 176 kB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003937/0.1973, allocations: 326.1 kB / 0.8142 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.1973, allocations: 8.422 kB / 0.8143 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.1973, allocations: 39 kB / 0.8143 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=47): time 1.623e-06/0.1973, allocations: 0 / 0.8143 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of matching and sorting (n=48): time 0.003311/0.2007, allocations: 2.01 MB / 0.8163 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.2007, allocations: 55.84 kB / 0.8163 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005054/0.2012, allocations: 0.5548 MB / 0.8169 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.2012, allocations: 33.7 kB / 0.8169 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002238/0.2015, allocations: 418.8 kB / 0.8173 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.2016, allocations: 165.6 kB / 0.8174 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.663e-05/0.2017, allocations: 61.69 kB / 0.8175 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.2018, allocations: 378.7 kB / 0.8179 GB, free: 12 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003575/0.2022, allocations: 269.8 kB / 0.8181 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004681/0.2026, allocations: 0.4931 MB / 0.8186 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008745/0.2035, allocations: 0.8132 MB / 0.8194 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2035, allocations: 0 / 0.8194 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001576/0.2051, allocations: 1.087 MB / 0.8205 GB, free: 9.129 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.2051, allocations: 8 kB / 0.8205 GB, free: 9.121 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.2051, allocations: 8 kB / 0.8205 GB, free: 9.113 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007381/0.2059, allocations: 271.2 kB / 0.8207 GB, free: 8.836 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000435/0.2063, allocations: 131.8 kB / 0.8209 GB, free: 8.707 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005157/0.2115, allocations: 6.602 MB / 0.8273 GB, free: 1.566 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004816/0.212, allocations: 39.97 kB / 0.8273 GB, free: 1.527 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.243e-05/0.212, allocations: 28.23 kB / 0.8274 GB, free: 1.5 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.0002825/0.2123, allocations: 257.6 kB / 0.8276 GB, free: 1.238 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.47e-05/0.2124, allocations: 71.16 kB / 0.8277 GB, free: 1.168 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/0.2139, allocations: 0.8885 MB / 0.8285 GB, free: 268 kB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.2139, allocations: 7.984 kB / 0.8286 GB, free: 260 kB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.2139, allocations: 4 kB / 0.8286 GB, free: 256 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2139, allocations: 0 / 0.8286 GB, free: 256 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002186/0.2161, allocations: 1.728 MB / 0.8302 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2161, allocations: 0 / 0.8302 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002414/0.2163, allocations: 63.89 kB / 0.8303 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006571/0.217, allocations: 267.4 kB / 0.8306 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.768e-05/0.2171, allocations: 16 kB / 0.8306 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005074/0.2221, allocations: 6.587 MB / 0.837 GB, free: 6.961 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2221, allocations: 4.078 kB / 0.837 GB, free: 6.957 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.2234, allocations: 0.9915 MB / 0.838 GB, free: 5.922 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002056/0.2237, allocations: 192.2 kB / 0.8382 GB, free: 5.715 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.153e-05/0.2237, allocations: 11.94 kB / 0.8382 GB, free: 5.703 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003354/0.2241, allocations: 39.91 kB / 0.8382 GB, free: 5.664 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.387e-05/0.2242, allocations: 39.88 kB / 0.8383 GB, free: 5.625 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.879e-05/0.2242, allocations: 16 kB / 0.8383 GB, free: 5.609 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003544/0.2246, allocations: 387.1 kB / 0.8386 GB, free: 5.234 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.2246, allocations: 0 / 0.8386 GB, free: 5.234 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006687/0.2252, allocations: 224 kB / 0.8389 GB, free: 5.016 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.001529/0.2268, allocations: 1.54 MB / 0.8404 GB, free: 3.414 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001644/0.2284, allocations: 1.268 MB / 0.8416 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.2284, allocations: 4 kB / 0.8416 GB, free: 2.09 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001072/0.2295, allocations: 0.901 MB / 0.8425 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.2306, allocations: 203 kB / 0.8427 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007245/0.2378, allocations: 6.821 MB / 0.8493 GB, free: 9.781 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004625/0.2383, allocations: 1.005 MB / 0.8503 GB, free: 8.75 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0003534/0.2387, allocations: 118 kB / 0.8504 GB, free: 8.633 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002698/0.2389, allocations: 251.3 kB / 0.8507 GB, free: 8.387 MB / 0.67 GB Notification: Performance of SimCode: time 4.11e-07/0.2389, allocations: 0 / 0.8507 GB, free: 8.387 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.391/3.63, allocations: 16.33 MB / 0.8666 GB, free: 8.352 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001696/3.63, allocations: 224.7 kB / 0.8668 GB, free: 8.098 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.317/5.948, allocations: 7.938 kB / 0.8668 GB, free: 8.09 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)