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.684/1.684, allocations: 252 MB / 267 MB, free: 10.98 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.0009239/0.0009238, allocations: 188.4 kB / 326.6 MB, free: 2.203 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.594/1.594, allocations: 205.4 MB / 0.5777 GB, free: 20.21 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.0007084/0.0007084, allocations: 88.42 kB / 0.6823 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003547/0.0003545, allocations: 9.656 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1674, allocations: 106.3 MB / 0.9003 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.005004/0.1724, allocations: 5.966 MB / 0.9061 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003404/0.1759, allocations: 2.901 MB / 0.909 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000484/0.1764, allocations: 19.88 kB / 0.909 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004056/0.1768, allocations: 138.8 kB / 0.9091 GB, free: 54.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000916/0.1777, allocations: 417.7 kB / 0.9095 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007617/0.1785, allocations: 317.8 kB / 0.9098 GB, free: 54 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001025/0.1795, allocations: 1.314 MB / 0.9111 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001312/0.1809, allocations: 0.9249 MB / 0.912 GB, free: 51.73 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000486/0.1813, allocations: 398.4 kB / 0.9124 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005309/0.1819, allocations: 486.2 kB / 0.9129 GB, free: 50.87 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.363e-05/0.182, allocations: 32 kB / 0.9129 GB, free: 50.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003957/0.1824, allocations: 191.7 kB / 0.9131 GB, free: 50.65 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000165/0.1826, allocations: 263.2 kB / 0.9133 GB, free: 50.39 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.1827, allocations: 177.3 kB / 0.9135 GB, free: 50.21 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005607/0.1832, allocations: 0.9002 MB / 0.9144 GB, free: 49.31 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1833, allocations: 4 kB / 0.9144 GB, free: 49.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 9.62e-07/0.1833, allocations: 3.938 kB / 0.9144 GB, free: 49.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.1833, allocations: 0 / 0.9144 GB, free: 49.3 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.00132/0.1846, allocations: 1.013 MB / 0.9154 GB, free: 48.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.1847, allocations: 8.031 kB / 0.9154 GB, free: 48.23 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001521/0.1848, allocations: 118.5 kB / 0.9155 GB, free: 48.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001335/0.1862, allocations: 242.6 kB / 0.9157 GB, free: 47.86 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005984/0.1868, allocations: 0.5288 MB / 0.9162 GB, free: 47.29 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.1868, allocations: 45.3 kB / 0.9163 GB, free: 47.25 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.659e-05/0.1869, allocations: 67.98 kB / 0.9163 GB, free: 47.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.188, allocations: 1.081 MB / 0.9174 GB, free: 46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.188, allocations: 7.938 kB / 0.9174 GB, free: 45.99 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.079e-05/0.1881, allocations: 31.98 kB / 0.9174 GB, free: 45.96 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001166/0.1882, allocations: 85.25 kB / 0.9175 GB, free: 45.88 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009107/0.1891, allocations: 0.7464 MB / 0.9182 GB, free: 45.12 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00371/0.1928, allocations: 5.893 MB / 0.924 GB, free: 38.81 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008088/0.1937, allocations: 0.5625 MB / 0.9245 GB, free: 38.23 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003561/0.1941, allocations: 326 kB / 0.9249 GB, free: 37.91 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.255e-05/0.1941, allocations: 8.438 kB / 0.9249 GB, free: 37.91 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.1941, allocations: 43 kB / 0.9249 GB, free: 37.86 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=47): time 3.126e-06/0.1941, allocations: 0 / 0.9249 GB, free: 37.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.003297/0.1975, allocations: 1.986 MB / 0.9268 GB, free: 35.77 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/0.1975, allocations: 55.84 kB / 0.9269 GB, free: 35.71 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004559/0.198, allocations: 0.5469 MB / 0.9274 GB, free: 35.15 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.198, allocations: 41.69 kB / 0.9275 GB, free: 35.1 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.1982, allocations: 414.9 kB / 0.9279 GB, free: 34.69 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.018e-05/0.1983, allocations: 169.6 kB / 0.928 GB, free: 34.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.1983, allocations: 15.94 kB / 0.928 GB, free: 34.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.408e-05/0.1984, allocations: 374.8 kB / 0.9284 GB, free: 34.13 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003337/0.1987, allocations: 277.8 kB / 0.9287 GB, free: 33.86 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004177/0.1992, allocations: 485 kB / 0.9291 GB, free: 33.29 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004147/0.1996, allocations: 346 kB / 0.9295 GB, free: 32.95 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1996, allocations: 0 / 0.9295 GB, free: 32.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00155/0.2011, allocations: 1.075 MB / 0.9305 GB, free: 31.85 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.2012, allocations: 14.59 kB / 0.9305 GB, free: 31.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.2012, allocations: 8.875 kB / 0.9305 GB, free: 31.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007663/0.202, allocations: 283.2 kB / 0.9308 GB, free: 31.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004417/0.2024, allocations: 123.8 kB / 0.9309 GB, free: 31.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004618/0.2071, allocations: 6.599 MB / 0.9374 GB, free: 24.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005489/0.2076, allocations: 39.97 kB / 0.9374 GB, free: 24.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.319e-05/0.2077, allocations: 31.98 kB / 0.9374 GB, free: 24.21 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003092/0.208, allocations: 249.6 kB / 0.9377 GB, free: 23.96 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.2081, allocations: 79.16 kB / 0.9378 GB, free: 23.88 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001345/0.2095, allocations: 0.8846 MB / 0.9386 GB, free: 22.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.2095, allocations: 4 kB / 0.9386 GB, free: 22.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.2095, allocations: 4 kB / 0.9386 GB, free: 22.97 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2095, allocations: 4 kB / 0.9386 GB, free: 22.97 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002128/0.2116, allocations: 1.724 MB / 0.9403 GB, free: 21.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.2117, allocations: 3.938 kB / 0.9403 GB, free: 21.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002467/0.2119, allocations: 55.95 kB / 0.9404 GB, free: 21.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006927/0.2126, allocations: 267.3 kB / 0.9406 GB, free: 20.82 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.328e-05/0.2127, allocations: 12.06 kB / 0.9406 GB, free: 20.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00442/0.2171, allocations: 6.584 MB / 0.9471 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.2171, allocations: 3.938 kB / 0.9471 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.2184, allocations: 0.9797 MB / 0.948 GB, free: 12.66 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00024/0.2186, allocations: 188.2 kB / 0.9482 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.021e-05/0.2187, allocations: 12 kB / 0.9482 GB, free: 12.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003786/0.2191, allocations: 31.92 kB / 0.9482 GB, free: 12.42 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.681e-05/0.2192, allocations: 47.88 kB / 0.9483 GB, free: 12.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/0.2192, allocations: 16 kB / 0.9483 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000325/0.2196, allocations: 375.1 kB / 0.9487 GB, free: 11.99 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2196, allocations: 4 kB / 0.9487 GB, free: 11.99 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007197/0.2203, allocations: 224 kB / 0.9489 GB, free: 11.77 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001419/0.2217, allocations: 1.54 MB / 0.9504 GB, free: 10.17 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001621/0.2234, allocations: 1.268 MB / 0.9516 GB, free: 8.852 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.2234, allocations: 0 / 0.9516 GB, free: 8.852 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009972/0.2244, allocations: 0.8971 MB / 0.9525 GB, free: 7.902 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009587/0.2254, allocations: 200.5 kB / 0.9527 GB, free: 7.711 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00515/0.2305, allocations: 4.377 MB / 0.957 GB, free: 3.152 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.2309, allocations: 1.005 MB / 0.9579 GB, free: 2.121 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004034/0.2313, allocations: 130 kB / 0.9581 GB, free: 1.992 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002477/0.2316, allocations: 247.4 kB / 0.9583 GB, free: 1.754 MB / 0.6042 GB Notification: Performance of SimCode: time 5.21e-07/0.2316, allocations: 0 / 0.9583 GB, free: 1.754 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0303/0.2619, allocations: 16.22 MB / 0.9741 GB, free: 1.828 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001835/0.2621, allocations: 219.9 kB / 0.9744 GB, free: 1.594 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.445/2.707, allocations: 0 / 0.9744 GB, free: 1.594 MB / 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)