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.351/1.351, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0009028/0.0009029, allocations: 173.8 kB / 325.8 MB, free: 2.691 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.397/1.397, allocations: 205 MB / 0.576 GB, free: 20.99 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.0006533/0.0006533, allocations: 97.91 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003078/0.0003079, allocations: 9.5 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1523, allocations: 105.4 MB / 0.8962 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.004204/0.1566, allocations: 5.142 MB / 0.9012 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00269/0.1593, allocations: 2.658 MB / 0.9038 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000192/0.1595, allocations: 27.81 kB / 0.9038 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001207/0.1607, allocations: 0.6462 MB / 0.9045 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005096/0.1612, allocations: 378.1 kB / 0.9048 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005694/0.1618, allocations: 359.3 kB / 0.9052 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006367/0.1624, allocations: 1.24 MB / 0.9064 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004644/0.1629, allocations: 450.1 kB / 0.9068 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002395/0.1632, allocations: 314.5 kB / 0.9071 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002895/0.1635, allocations: 386.4 kB / 0.9075 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.878e-05/0.1635, allocations: 28 kB / 0.9075 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004127/0.1639, allocations: 435.1 kB / 0.9079 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.1641, allocations: 223.3 kB / 0.9081 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001776/0.1643, allocations: 314.2 kB / 0.9084 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005632/0.1648, allocations: 0.9576 MB / 0.9094 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1648, allocations: 0 / 0.9094 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1648, allocations: 0 / 0.9094 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.1649, allocations: 0 / 0.9094 GB, free: 54.57 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.0009835/0.1658, allocations: 0.853 MB / 0.9102 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.1659, allocations: 8.031 kB / 0.9102 GB, free: 53.65 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.627e-05/0.166, allocations: 98.69 kB / 0.9103 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/0.1671, allocations: 195.9 kB / 0.9105 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004657/0.1676, allocations: 486.4 kB / 0.911 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.1676, allocations: 41.36 kB / 0.911 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.1677, allocations: 60.45 kB / 0.9111 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007549/0.1685, allocations: 0.8238 MB / 0.9119 GB, free: 51.84 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.1685, allocations: 7.984 kB / 0.9119 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.402e-05/0.1686, allocations: 27.98 kB / 0.9119 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001454/0.1687, allocations: 60.95 kB / 0.912 GB, free: 51.74 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006355/0.1694, allocations: 0.5774 MB / 0.9125 GB, free: 51.16 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002702/0.1721, allocations: 4.585 MB / 0.917 GB, free: 46.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003399/0.1724, allocations: 291.3 kB / 0.9173 GB, free: 45.94 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002202/0.1727, allocations: 229.3 kB / 0.9175 GB, free: 45.71 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.1727, allocations: 8.281 kB / 0.9175 GB, free: 45.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.463e-05/0.1727, allocations: 38.78 kB / 0.9175 GB, free: 45.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 1.673e-06/0.1727, allocations: 0 / 0.9175 GB, free: 45.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.004259/0.177, allocations: 2.625 MB / 0.9201 GB, free: 42.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.968e-05/0.177, allocations: 55.41 kB / 0.9202 GB, free: 42.84 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003174/0.1773, allocations: 461.9 kB / 0.9206 GB, free: 42.38 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.1774, allocations: 37.64 kB / 0.9206 GB, free: 42.33 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.1775, allocations: 347.6 kB / 0.921 GB, free: 41.98 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.606e-05/0.1776, allocations: 141.9 kB / 0.9211 GB, free: 41.84 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.539e-05/0.1776, allocations: 53.69 kB / 0.9212 GB, free: 41.79 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.785e-05/0.1777, allocations: 358.8 kB / 0.9215 GB, free: 41.43 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002631/0.178, allocations: 241 kB / 0.9217 GB, free: 41.19 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003056/0.1783, allocations: 406.5 kB / 0.9221 GB, free: 40.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000601/0.1789, allocations: 0.674 MB / 0.9228 GB, free: 39.97 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1789, allocations: 7.938 kB / 0.9228 GB, free: 39.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001263/0.1802, allocations: 0.9207 MB / 0.9237 GB, free: 39.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1802, allocations: 8.656 kB / 0.9237 GB, free: 39.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1802, allocations: 4 kB / 0.9237 GB, free: 39.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006524/0.1809, allocations: 226.4 kB / 0.9239 GB, free: 38.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004255/0.1813, allocations: 119.8 kB / 0.924 GB, free: 38.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003213/0.1845, allocations: 4.941 MB / 0.9288 GB, free: 33.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003501/0.1849, allocations: 27.97 kB / 0.9289 GB, free: 33.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.209e-05/0.1849, allocations: 24 kB / 0.9289 GB, free: 33.27 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0002065/0.1851, allocations: 225.6 kB / 0.9291 GB, free: 33.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.774e-05/0.1852, allocations: 55.34 kB / 0.9292 GB, free: 32.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.1864, allocations: 0.7774 MB / 0.9299 GB, free: 32.19 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.1864, allocations: 4 kB / 0.9299 GB, free: 32.19 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.1864, allocations: 4 kB / 0.9299 GB, free: 32.18 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.1864, allocations: 3.984 kB / 0.9299 GB, free: 32.18 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001758/0.1882, allocations: 1.502 MB / 0.9314 GB, free: 30.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.1882, allocations: 0 / 0.9314 GB, free: 30.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003196/0.1885, allocations: 71.89 kB / 0.9315 GB, free: 30.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000562/0.1891, allocations: 206.4 kB / 0.9317 GB, free: 30.31 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.516e-05/0.1891, allocations: 8 kB / 0.9317 GB, free: 30.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002928/0.1921, allocations: 4.872 MB / 0.9364 GB, free: 25.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1921, allocations: 7.938 kB / 0.9364 GB, free: 25.02 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.1934, allocations: 1.143 MB / 0.9376 GB, free: 23.82 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.1936, allocations: 172.4 kB / 0.9377 GB, free: 23.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.274e-05/0.1936, allocations: 12 kB / 0.9377 GB, free: 23.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000279/0.1939, allocations: 19.97 kB / 0.9377 GB, free: 23.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.923e-05/0.194, allocations: 47.89 kB / 0.9378 GB, free: 23.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.194, allocations: 12 kB / 0.9378 GB, free: 23.55 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002167/0.1942, allocations: 314.9 kB / 0.9381 GB, free: 23.24 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1943, allocations: 0 / 0.9381 GB, free: 23.24 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004885/0.1947, allocations: 164 kB / 0.9383 GB, free: 23.08 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001438/0.1962, allocations: 1.696 MB / 0.9399 GB, free: 21.33 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001122/0.1973, allocations: 1.004 MB / 0.9409 GB, free: 20.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1973, allocations: 0 / 0.9409 GB, free: 20.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006652/0.198, allocations: 0.6799 MB / 0.9416 GB, free: 19.57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008017/0.1988, allocations: 174.2 kB / 0.9417 GB, free: 19.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005418/0.2042, allocations: 5.89 MB / 0.9475 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.2045, allocations: 0.9494 MB / 0.9484 GB, free: 12.25 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002933/0.2048, allocations: 113 kB / 0.9485 GB, free: 12.14 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001865/0.205, allocations: 211.4 kB / 0.9487 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of SimCode: time 3.5e-07/0.205, allocations: 0 / 0.9487 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5492/0.7543, allocations: 13.27 MB / 0.9617 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002099/0.7545, allocations: 243.8 kB / 0.9619 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.199/2.954, allocations: 0 / 0.9619 GB, free: 14.7 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)