Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_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.001213/0.001213, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001243/0.001244, allocations: 194.4 kB / 16.25 MB, free: 6.625 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.26/1.26, allocations: 205.1 MB / 222.1 MB, free: 4.688 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.547/1.547, allocations: 292.3 MB / 0.5486 GB, free: 13.61 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.001232/0.001232, allocations: 68.69 kB / 0.6711 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1621, allocations: 114.5 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.006831/0.1689, allocations: 6.781 MB / 0.7896 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003601/0.1725, allocations: 3.064 MB / 0.7926 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002145/0.1728, allocations: 27.81 kB / 0.7926 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001895/0.1747, allocations: 0.8958 MB / 0.7935 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007377/0.1754, allocations: 469.7 kB / 0.7939 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007154/0.1761, allocations: 403.2 kB / 0.7943 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009211/0.1771, allocations: 1.232 MB / 0.7955 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007676/0.1779, allocations: 0.7405 MB / 0.7962 GB, free: 152 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004105/0.1783, allocations: 474.3 kB / 0.7967 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004824/0.1788, allocations: 0.5487 MB / 0.7972 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 7.883e-05/0.1789, allocations: 64 kB / 0.7973 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004424/0.1793, allocations: 379.3 kB / 0.7977 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002209/0.1795, allocations: 307.2 kB / 0.798 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003244/0.1799, allocations: 457.7 kB / 0.7984 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0009321/0.1808, allocations: 1.226 MB / 0.7996 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1808, allocations: 4 kB / 0.7996 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.011e-06/0.1808, allocations: 3.938 kB / 0.7996 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.1808, allocations: 4 kB / 0.7996 GB, free: 12.71 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.001487/0.1823, allocations: 1.161 MB / 0.8007 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.1824, allocations: 20.02 kB / 0.8007 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000109/0.1825, allocations: 110.7 kB / 0.8009 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001387/0.1839, allocations: 243.6 kB / 0.8011 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007364/0.1846, allocations: 0.553 MB / 0.8016 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.1847, allocations: 41.69 kB / 0.8017 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-05/0.1848, allocations: 68.36 kB / 0.8017 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.186, allocations: 1.089 MB / 0.8028 GB, free: 9.227 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.186, allocations: 3.938 kB / 0.8028 GB, free: 9.223 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.378e-05/0.1861, allocations: 31.98 kB / 0.8028 GB, free: 9.191 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001202/0.1862, allocations: 89.19 kB / 0.8029 GB, free: 9.102 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000961/0.1872, allocations: 0.7504 MB / 0.8036 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004171/0.1914, allocations: 5.901 MB / 0.8094 GB, free: 2.023 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000803/0.1922, allocations: 0.5544 MB / 0.81 GB, free: 1.457 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003798/0.1926, allocations: 333.4 kB / 0.8103 GB, free: 1.133 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.1926, allocations: 4.438 kB / 0.8103 GB, free: 1.129 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.1926, allocations: 39 kB / 0.8103 GB, free: 1.082 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 1.583e-06/0.1926, allocations: 0 / 0.8103 GB, free: 1.082 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.003162/0.1958, allocations: 1.986 MB / 0.8122 GB, free: 15 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/0.1958, allocations: 55.84 kB / 0.8123 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004952/0.1963, allocations: 0.5626 MB / 0.8129 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.707e-05/0.1964, allocations: 33.7 kB / 0.8129 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002218/0.1966, allocations: 418.9 kB / 0.8133 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.1967, allocations: 169.6 kB / 0.8134 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/0.1969, allocations: 130.5 kB / 0.8136 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.197, allocations: 382.7 kB / 0.8139 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003442/0.1974, allocations: 269.9 kB / 0.8142 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004558/0.1978, allocations: 492.9 kB / 0.8147 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008446/0.1987, allocations: 0.8132 MB / 0.8155 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1987, allocations: 7.938 kB / 0.8155 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001535/0.2002, allocations: 1.09 MB / 0.8165 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.2003, allocations: 8 kB / 0.8165 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.2003, allocations: 8.875 kB / 0.8165 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007183/0.201, allocations: 279.2 kB / 0.8168 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004216/0.2014, allocations: 127.8 kB / 0.8169 GB, free: 9.934 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005387/0.2068, allocations: 7.137 MB / 0.8239 GB, free: 2.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004571/0.2073, allocations: 40.03 kB / 0.8239 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.2073, allocations: 28 kB / 0.824 GB, free: 2.164 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.0002681/0.2076, allocations: 249.5 kB / 0.8242 GB, free: 1.91 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.248e-05/0.2077, allocations: 75.16 kB / 0.8243 GB, free: 1.836 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001354/0.2091, allocations: 0.8886 MB / 0.8251 GB, free: 0.9258 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.2091, allocations: 4.188 kB / 0.8251 GB, free: 0.9219 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.2091, allocations: 8 kB / 0.8252 GB, free: 0.9141 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.2091, allocations: 3.984 kB / 0.8252 GB, free: 0.9102 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002154/0.2113, allocations: 1.732 MB / 0.8269 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.2113, allocations: 4.125 kB / 0.8269 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002379/0.2115, allocations: 63.89 kB / 0.8269 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006549/0.2122, allocations: 271.2 kB / 0.8272 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.797e-05/0.2122, allocations: 8 kB / 0.8272 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005332/0.2176, allocations: 7.123 MB / 0.8341 GB, free: 7.051 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.2176, allocations: 0 / 0.8341 GB, free: 7.051 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.2189, allocations: 0.9953 MB / 0.8351 GB, free: 6.012 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002112/0.2191, allocations: 196.2 kB / 0.8353 GB, free: 5.801 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.739e-05/0.2192, allocations: 19.86 kB / 0.8353 GB, free: 5.781 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000521/0.2197, allocations: 31.97 kB / 0.8353 GB, free: 5.75 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.2199, allocations: 39.94 kB / 0.8354 GB, free: 5.711 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.967e-05/0.2199, allocations: 12.14 kB / 0.8354 GB, free: 5.699 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005366/0.2205, allocations: 391.1 kB / 0.8358 GB, free: 5.32 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2205, allocations: 0 / 0.8358 GB, free: 5.32 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006779/0.2212, allocations: 224 kB / 0.836 GB, free: 5.102 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.001509/0.2227, allocations: 1.544 MB / 0.8375 GB, free: 3.496 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001695/0.2244, allocations: 1.342 MB / 0.8388 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.2244, allocations: 0 / 0.8388 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001074/0.2255, allocations: 0.8854 MB / 0.8397 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008646/0.2264, allocations: 232.3 kB / 0.8399 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007579/0.234, allocations: 6.849 MB / 0.8466 GB, free: 9.77 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004763/0.2345, allocations: 1.009 MB / 0.8476 GB, free: 8.734 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0003628/0.2348, allocations: 126 kB / 0.8477 GB, free: 8.609 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002573/0.2351, allocations: 251.4 kB / 0.8479 GB, free: 8.363 MB / 0.67 GB Notification: Performance of SimCode: time 2.8e-07/0.2351, allocations: 0 / 0.8479 GB, free: 8.363 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.626/5.861, allocations: 17.23 MB / 0.8648 GB, free: 7.48 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002772/5.862, allocations: 250.1 kB / 0.865 GB, free: 7.223 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.134/7.996, allocations: 0 / 0.865 GB, free: 7.223 MB / 0.6856 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)