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.001424/0.001424, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001282/0.001282, allocations: 195.9 kB / 16.14 MB, free: 6.672 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.237/1.237, allocations: 205.1 MB / 222 MB, free: 4.945 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.513/1.513, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.0013/0.0013, allocations: 62.22 kB / 0.6709 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1606, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.005869/0.1665, allocations: 5.471 MB / 0.7881 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003173/0.1696, allocations: 2.659 MB / 0.7907 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001716/0.1698, allocations: 15.88 kB / 0.7908 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001356/0.1712, allocations: 0.6267 MB / 0.7914 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005564/0.1718, allocations: 382.1 kB / 0.7917 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006101/0.1724, allocations: 366 kB / 0.7921 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008896/0.1733, allocations: 1.252 MB / 0.7933 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005489/0.1738, allocations: 454.3 kB / 0.7937 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003009/0.1741, allocations: 322.6 kB / 0.794 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003733/0.1745, allocations: 410.4 kB / 0.7944 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.663e-05/0.1746, allocations: 36 kB / 0.7945 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005273/0.1751, allocations: 439.1 kB / 0.7949 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001879/0.1753, allocations: 227.4 kB / 0.7951 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002767/0.1756, allocations: 338.2 kB / 0.7954 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007901/0.1764, allocations: 0.9734 MB / 0.7964 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1764, allocations: 0 / 0.7964 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of FrontEnd: time 7.11e-07/0.1764, allocations: 0 / 0.7964 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.1764, allocations: 3.938 kB / 0.7964 GB, free: 15.95 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.00125/0.1777, allocations: 0.9737 MB / 0.7973 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.1777, allocations: 15.97 kB / 0.7973 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.465e-05/0.1778, allocations: 94.7 kB / 0.7974 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/0.1791, allocations: 191.9 kB / 0.7976 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005522/0.1796, allocations: 486.4 kB / 0.7981 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.1797, allocations: 33.38 kB / 0.7981 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.1798, allocations: 60.53 kB / 0.7982 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009839/0.1808, allocations: 0.8316 MB / 0.799 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.1808, allocations: 3.938 kB / 0.799 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.079e-05/0.1809, allocations: 24 kB / 0.799 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001718/0.181, allocations: 68.95 kB / 0.7991 GB, free: 13 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007676/0.1818, allocations: 0.5697 MB / 0.7996 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003634/0.1855, allocations: 4.581 MB / 0.8041 GB, free: 7.504 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004021/0.1859, allocations: 295.2 kB / 0.8044 GB, free: 7.207 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002715/0.1862, allocations: 225.3 kB / 0.8046 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.1862, allocations: 4.281 kB / 0.8046 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.1862, allocations: 34.83 kB / 0.8046 GB, free: 6.938 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 1.342e-06/0.1862, allocations: 8 kB / 0.8047 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of matching and sorting (n=40): time 0.004894/0.1911, allocations: 2.627 MB / 0.8072 GB, free: 4.176 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.1912, allocations: 55.41 kB / 0.8073 GB, free: 4.109 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003976/0.1916, allocations: 461.9 kB / 0.8077 GB, free: 3.648 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.117e-05/0.1916, allocations: 29.7 kB / 0.8077 GB, free: 3.613 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.1918, allocations: 335.7 kB / 0.8081 GB, free: 3.277 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.168e-05/0.1919, allocations: 145.9 kB / 0.8082 GB, free: 3.133 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.192, allocations: 110.2 kB / 0.8083 GB, free: 3.02 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.1922, allocations: 362.8 kB / 0.8086 GB, free: 2.656 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00032/0.1925, allocations: 240.9 kB / 0.8089 GB, free: 2.422 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004187/0.1929, allocations: 410.4 kB / 0.8093 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007542/0.1937, allocations: 0.6779 MB / 0.8099 GB, free: 1.195 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1937, allocations: 0 / 0.8099 GB, free: 1.195 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001453/0.1951, allocations: 0.9248 MB / 0.8108 GB, free: 260 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.1952, allocations: 8 kB / 0.8108 GB, free: 252 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.1952, allocations: 4 kB / 0.8108 GB, free: 248 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006936/0.1959, allocations: 222.9 kB / 0.8111 GB, free: 16 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004673/0.1964, allocations: 111.8 kB / 0.8112 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004176/0.2005, allocations: 4.939 MB / 0.816 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003472/0.2009, allocations: 36.11 kB / 0.816 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-05/0.2009, allocations: 20 kB / 0.816 GB, free: 10.51 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.0002221/0.2012, allocations: 225.9 kB / 0.8163 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.031e-05/0.2013, allocations: 63.27 kB / 0.8163 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00133/0.2026, allocations: 0.7818 MB / 0.8171 GB, free: 9.414 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.2026, allocations: 4 kB / 0.8171 GB, free: 9.41 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2026, allocations: 4 kB / 0.8171 GB, free: 9.406 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2026, allocations: 4 kB / 0.8171 GB, free: 9.402 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002072/0.2047, allocations: 1.494 MB / 0.8186 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.2047, allocations: 4 kB / 0.8186 GB, free: 7.816 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003358/0.2051, allocations: 71.88 kB / 0.8186 GB, free: 7.746 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006176/0.2057, allocations: 202.6 kB / 0.8188 GB, free: 7.539 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/0.2057, allocations: 8 kB / 0.8188 GB, free: 7.531 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003998/0.2097, allocations: 4.876 MB / 0.8236 GB, free: 2.254 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.2097, allocations: 7.969 kB / 0.8236 GB, free: 2.246 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/0.2113, allocations: 1.143 MB / 0.8247 GB, free: 1.055 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/0.2115, allocations: 168.4 kB / 0.8249 GB, free: 0.8711 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.528e-05/0.2116, allocations: 11.98 kB / 0.8249 GB, free: 0.8594 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002919/0.2119, allocations: 27.97 kB / 0.8249 GB, free: 0.832 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.327e-05/0.2119, allocations: 35.89 kB / 0.8249 GB, free: 0.7969 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.447e-05/0.212, allocations: 12 kB / 0.825 GB, free: 0.7852 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002766/0.2122, allocations: 306.9 kB / 0.8252 GB, free: 500 kB / 0.6387 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2123, allocations: 4.062 kB / 0.8253 GB, free: 496 kB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005175/0.2128, allocations: 172 kB / 0.8254 GB, free: 324 kB / 0.6387 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.001797/0.2146, allocations: 1.692 MB / 0.8271 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001312/0.2159, allocations: 1.001 MB / 0.828 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.2159, allocations: 4.125 kB / 0.828 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008448/0.2168, allocations: 0.6874 MB / 0.8287 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007584/0.2175, allocations: 172.6 kB / 0.8289 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006684/0.2242, allocations: 5.902 MB / 0.8346 GB, free: 6.445 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004398/0.2247, allocations: 0.9494 MB / 0.8356 GB, free: 5.469 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003112/0.225, allocations: 113 kB / 0.8357 GB, free: 5.359 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/0.2252, allocations: 215.4 kB / 0.8359 GB, free: 5.148 MB / 0.6544 GB Notification: Performance of SimCode: time 2.91e-07/0.2252, allocations: 0 / 0.8359 GB, free: 5.148 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.042/3.268, allocations: 13.48 MB / 0.849 GB, free: 7.922 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002636/3.268, allocations: 226.5 kB / 0.8493 GB, free: 7.668 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.039/5.307, allocations: 0 / 0.8493 GB, free: 7.668 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)