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_RL.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_RL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",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.447/1.447, 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.001055/0.001055, allocations: 180.3 kB / 326.6 MB, free: 2.215 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.574/1.574, allocations: 205.4 MB / 0.5777 GB, free: 20.26 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.0009366/0.0009366, allocations: 84.44 kB / 0.6822 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002998/0.0002999, allocations: 9.906 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1719, 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_RL): time 0.00425/0.1762, allocations: 4.809 MB / 0.905 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002906/0.1791, allocations: 2.503 MB / 0.9075 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002747/0.1794, allocations: 19.88 kB / 0.9075 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002547/0.1797, allocations: 99.14 kB / 0.9076 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006793/0.1804, allocations: 342.2 kB / 0.9079 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006157/0.181, allocations: 282.2 kB / 0.9082 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006483/0.1817, allocations: 1.041 MB / 0.9092 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009688/0.1827, allocations: 0.7476 MB / 0.9099 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003094/0.183, allocations: 306.7 kB / 0.9102 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003419/0.1833, allocations: 382.5 kB / 0.9106 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.496e-05/0.1834, allocations: 28 kB / 0.9106 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003659/0.1838, allocations: 179.8 kB / 0.9108 GB, free: 53 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001482/0.1839, allocations: 219.4 kB / 0.911 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.015e-05/0.184, allocations: 145.4 kB / 0.9111 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004901/0.1845, allocations: 0.7133 MB / 0.9118 GB, free: 51.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1845, allocations: 7.938 kB / 0.9118 GB, free: 51.92 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1845, allocations: 0 / 0.9118 GB, free: 51.92 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.1846, allocations: 0 / 0.9118 GB, free: 51.92 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001071/0.1856, allocations: 0.8543 MB / 0.9126 GB, free: 51.01 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.1857, allocations: 15.97 kB / 0.9127 GB, free: 51 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.283e-05/0.1858, allocations: 94.52 kB / 0.9128 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/0.187, allocations: 199 kB / 0.9129 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005395/0.1876, allocations: 473.4 kB / 0.9134 GB, free: 50.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.1876, allocations: 33 kB / 0.9134 GB, free: 50.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/0.1878, allocations: 59.88 kB / 0.9135 GB, free: 50.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008856/0.1886, allocations: 0.8316 MB / 0.9143 GB, free: 49.19 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.1887, allocations: 4 kB / 0.9143 GB, free: 49.19 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.518e-05/0.1887, allocations: 24 kB / 0.9143 GB, free: 49.16 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001718/0.1889, allocations: 60.95 kB / 0.9144 GB, free: 49.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007048/0.1896, allocations: 0.5774 MB / 0.9149 GB, free: 48.53 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003082/0.1927, allocations: 4.585 MB / 0.9194 GB, free: 43.59 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003679/0.1931, allocations: 287.3 kB / 0.9197 GB, free: 43.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002397/0.1934, allocations: 225.3 kB / 0.9199 GB, free: 43.08 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.1934, allocations: 4.281 kB / 0.9199 GB, free: 43.08 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.1934, allocations: 42.72 kB / 0.92 GB, free: 43.03 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 1.674e-06/0.1934, allocations: 0 / 0.92 GB, free: 43.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.004859/0.1983, allocations: 2.634 MB / 0.9225 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.1984, allocations: 59.34 kB / 0.9226 GB, free: 40.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003586/0.1987, allocations: 454 kB / 0.923 GB, free: 39.74 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/0.1988, allocations: 33.7 kB / 0.923 GB, free: 39.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.1989, allocations: 339.6 kB / 0.9234 GB, free: 39.36 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.809e-05/0.199, allocations: 141.9 kB / 0.9235 GB, free: 39.22 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.55e-05/0.199, allocations: 12 kB / 0.9235 GB, free: 39.21 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.961e-05/0.1991, allocations: 362.8 kB / 0.9239 GB, free: 38.85 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002838/0.1994, allocations: 241 kB / 0.9241 GB, free: 38.61 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003353/0.1997, allocations: 400.5 kB / 0.9245 GB, free: 38.14 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003362/0.2001, allocations: 301.4 kB / 0.9248 GB, free: 37.85 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2001, allocations: 4 kB / 0.9248 GB, free: 37.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00142/0.2015, allocations: 0.9025 MB / 0.9256 GB, free: 36.93 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.2015, allocations: 8 kB / 0.9257 GB, free: 36.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.2016, allocations: 8.031 kB / 0.9257 GB, free: 36.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007335/0.2023, allocations: 230.4 kB / 0.9259 GB, free: 36.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005037/0.2028, allocations: 115.8 kB / 0.926 GB, free: 36.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003553/0.2064, allocations: 4.938 MB / 0.9308 GB, free: 31.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004404/0.2069, allocations: 27.97 kB / 0.9308 GB, free: 31.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.429e-05/0.2069, allocations: 24 kB / 0.9309 GB, free: 31.17 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002518/0.2072, allocations: 221.7 kB / 0.9311 GB, free: 30.95 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.803e-05/0.2072, allocations: 55.34 kB / 0.9311 GB, free: 30.89 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/0.2085, allocations: 0.7733 MB / 0.9319 GB, free: 30.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.2085, allocations: 7.938 kB / 0.9319 GB, free: 30.09 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2086, allocations: 7.938 kB / 0.9319 GB, free: 30.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.2086, allocations: 3.984 kB / 0.9319 GB, free: 30.08 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001989/0.2106, allocations: 1.501 MB / 0.9334 GB, free: 28.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.2106, allocations: 0 / 0.9334 GB, free: 28.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003603/0.2109, allocations: 67.95 kB / 0.9334 GB, free: 28.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000623/0.2116, allocations: 214.7 kB / 0.9336 GB, free: 28.21 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/0.2116, allocations: 8 kB / 0.9336 GB, free: 28.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003265/0.2149, allocations: 4.86 MB / 0.9384 GB, free: 22.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.2149, allocations: 7.938 kB / 0.9384 GB, free: 22.93 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/0.2163, allocations: 1.128 MB / 0.9395 GB, free: 21.75 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001718/0.2165, allocations: 176.4 kB / 0.9397 GB, free: 21.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.43e-05/0.2166, allocations: 8 kB / 0.9397 GB, free: 21.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003218/0.2169, allocations: 23.97 kB / 0.9397 GB, free: 21.53 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.948e-05/0.217, allocations: 48.05 kB / 0.9397 GB, free: 21.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.217, allocations: 8 kB / 0.9398 GB, free: 21.48 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000247/0.2173, allocations: 310.9 kB / 0.9401 GB, free: 21.18 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.91e-07/0.2173, allocations: 0 / 0.9401 GB, free: 21.18 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005782/0.2179, allocations: 168 kB / 0.9402 GB, free: 21.01 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001621/0.2195, allocations: 1.688 MB / 0.9419 GB, free: 19.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001265/0.2208, allocations: 1.001 MB / 0.9428 GB, free: 18.23 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2208, allocations: 0 / 0.9428 GB, free: 18.23 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007644/0.2216, allocations: 0.6837 MB / 0.9435 GB, free: 17.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008168/0.2224, allocations: 169 kB / 0.9437 GB, free: 17.34 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00439/0.2268, allocations: 3.817 MB / 0.9474 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.2271, allocations: 0.9416 MB / 0.9483 GB, free: 12.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000343/0.2275, allocations: 117 kB / 0.9484 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002067/0.2277, allocations: 215.4 kB / 0.9486 GB, free: 12.07 MB / 0.6042 GB Notification: Performance of SimCode: time 4.21e-07/0.2277, allocations: 0 / 0.9486 GB, free: 12.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03329/0.261, allocations: 13.2 MB / 0.9615 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002832/0.2613, allocations: 236.9 kB / 0.9618 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.403/2.664, allocations: 0 / 0.9618 GB, free: 14.92 MB / 0.6198 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)