Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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_RL,fileNamePrefix="Buildings_8_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_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001395, 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.001658/0.001658, allocations: 192.1 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.227/1.227, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.581/1.581, allocations: 292.3 MB / 0.5486 GB, free: 13.64 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.001647/0.001647, allocations: 64.3 kB / 0.6711 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1692, allocations: 114.6 MB / 0.783 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006104/0.1754, allocations: 5.468 MB / 0.7883 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003214/0.1786, allocations: 2.62 MB / 0.7909 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.1788, allocations: 19.88 kB / 0.7909 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001428/0.1802, allocations: 0.6342 MB / 0.7915 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005953/0.1808, allocations: 374.1 kB / 0.7919 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006358/0.1815, allocations: 363.3 kB / 0.7922 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000778/0.1823, allocations: 0.9552 MB / 0.7932 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006045/0.1829, allocations: 0.5143 MB / 0.7937 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003358/0.1832, allocations: 370.6 kB / 0.794 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004014/0.1836, allocations: 414.4 kB / 0.7944 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.232e-05/0.1837, allocations: 48 kB / 0.7945 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004316/0.1841, allocations: 363.2 kB / 0.7948 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002058/0.1843, allocations: 247.4 kB / 0.795 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002647/0.1846, allocations: 350.2 kB / 0.7954 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008035/0.1854, allocations: 0.9928 MB / 0.7963 GB, free: 76 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1854, allocations: 4 kB / 0.7963 GB, free: 72 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.153e-06/0.1854, allocations: 0 / 0.7963 GB, free: 72 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.784e-06/0.1855, allocations: 0 / 0.7963 GB, free: 72 kB / 0.6075 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.001277/0.1867, allocations: 0.9621 MB / 0.7973 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.1868, allocations: 12.03 kB / 0.7973 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001025/0.1869, allocations: 102.6 kB / 0.7974 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/0.1881, allocations: 195.8 kB / 0.7976 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005583/0.1887, allocations: 490.4 kB / 0.798 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.1887, allocations: 41.36 kB / 0.7981 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/0.1888, allocations: 48.56 kB / 0.7981 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.1899, allocations: 0.8355 MB / 0.7989 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.1899, allocations: 7.938 kB / 0.799 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.041e-05/0.19, allocations: 23.98 kB / 0.799 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001785/0.1901, allocations: 64.95 kB / 0.799 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007681/0.1909, allocations: 0.5736 MB / 0.7996 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00371/0.1946, allocations: 4.577 MB / 0.8041 GB, free: 7.625 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004004/0.195, allocations: 299.2 kB / 0.8044 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002724/0.1953, allocations: 225.3 kB / 0.8046 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/0.1954, allocations: 288 / 0.8046 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.1954, allocations: 38.84 kB / 0.8046 GB, free: 7.055 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 1.042e-06/0.1954, allocations: 0 / 0.8046 GB, free: 7.055 MB / 0.6231 GB Notification: Performance of matching and sorting (n=40): time 0.004951/0.2004, allocations: 2.634 MB / 0.8072 GB, free: 4.293 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.2004, allocations: 59.41 kB / 0.8072 GB, free: 4.223 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000529/0.2009, allocations: 453.9 kB / 0.8077 GB, free: 3.766 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.598e-05/0.201, allocations: 41.7 kB / 0.8077 GB, free: 3.719 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002587/0.2013, allocations: 339.6 kB / 0.808 GB, free: 3.379 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.2014, allocations: 145.9 kB / 0.8082 GB, free: 3.234 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001733/0.2016, allocations: 106 kB / 0.8083 GB, free: 3.125 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.2017, allocations: 366.8 kB / 0.8086 GB, free: 2.758 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003165/0.202, allocations: 229 kB / 0.8088 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004139/0.2025, allocations: 413.2 kB / 0.8092 GB, free: 2.055 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007729/0.2032, allocations: 0.6818 MB / 0.8099 GB, free: 1.301 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.2032, allocations: 4 kB / 0.8099 GB, free: 1.297 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001493/0.2047, allocations: 0.9168 MB / 0.8108 GB, free: 372 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.2048, allocations: 10.66 kB / 0.8108 GB, free: 364 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.2048, allocations: 8.656 kB / 0.8108 GB, free: 356 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007207/0.2055, allocations: 222.4 kB / 0.811 GB, free: 124 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004612/0.206, allocations: 123.8 kB / 0.8111 GB, free: 0 / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004536/0.2105, allocations: 5.34 MB / 0.8164 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003589/0.2109, allocations: 31.97 kB / 0.8164 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.711e-05/0.2109, allocations: 20 kB / 0.8164 GB, free: 10.19 MB / 0.6387 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.0002233/0.2112, allocations: 222 kB / 0.8166 GB, free: 9.961 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.276e-05/0.2113, allocations: 59.28 kB / 0.8167 GB, free: 9.902 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001369/0.2126, allocations: 0.7818 MB / 0.8174 GB, free: 9.105 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.2126, allocations: 4 kB / 0.8174 GB, free: 9.102 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.2127, allocations: 4 kB / 0.8175 GB, free: 9.098 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2127, allocations: 4 kB / 0.8175 GB, free: 9.094 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002126/0.2148, allocations: 1.494 MB / 0.8189 GB, free: 7.512 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.2148, allocations: 4 kB / 0.8189 GB, free: 7.508 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003515/0.2152, allocations: 71.88 kB / 0.819 GB, free: 7.438 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006255/0.2158, allocations: 206.6 kB / 0.8192 GB, free: 7.227 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.874e-05/0.2158, allocations: 8 kB / 0.8192 GB, free: 7.219 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004317/0.2202, allocations: 5.278 MB / 0.8243 GB, free: 1.512 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2202, allocations: 0 / 0.8243 GB, free: 1.512 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.2217, allocations: 1.146 MB / 0.8255 GB, free: 328 kB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000178/0.2219, allocations: 168.3 kB / 0.8256 GB, free: 140 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.71e-05/0.222, allocations: 12.17 kB / 0.8256 GB, free: 128 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000302/0.2223, allocations: 31.97 kB / 0.8257 GB, free: 96 kB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.08e-05/0.2224, allocations: 36.02 kB / 0.8257 GB, free: 60 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.883e-05/0.2224, allocations: 16 kB / 0.8257 GB, free: 44 kB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002923/0.2227, allocations: 310.8 kB / 0.826 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.2227, allocations: 0 / 0.826 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000517/0.2233, allocations: 168 kB / 0.8262 GB, free: 15.58 MB / 0.6544 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.001816/0.2251, allocations: 1.688 MB / 0.8278 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001429/0.2265, allocations: 1.055 MB / 0.8289 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.2265, allocations: 0 / 0.8289 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008656/0.2274, allocations: 0.6953 MB / 0.8295 GB, free: 12 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007864/0.2282, allocations: 175.9 kB / 0.8297 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006965/0.2352, allocations: 5.907 MB / 0.8355 GB, free: 5.648 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004644/0.2356, allocations: 0.9415 MB / 0.8364 GB, free: 4.68 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003235/0.236, allocations: 117 kB / 0.8365 GB, free: 4.566 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002518/0.2362, allocations: 207.4 kB / 0.8367 GB, free: 4.363 MB / 0.6544 GB Notification: Performance of SimCode: time 3.9e-07/0.2362, allocations: 0 / 0.8367 GB, free: 4.363 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5164/0.7527, allocations: 13.9 MB / 0.8503 GB, free: 6.734 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001994/0.7529, allocations: 234.3 kB / 0.8505 GB, free: 6.477 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.862/2.615, allocations: 0 / 0.8505 GB, free: 6.477 MB / 0.67 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)