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.663/1.663, allocations: 249.3 MB / 261.9 MB, free: 5.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0012/0.0012, allocations: 188.8 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.54/1.54, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.0008614/0.0008614, allocations: 86.55 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.484e-05/3.499e-05, allocations: 7.984 kB / 0.788 GB, free: 96.97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1972, allocations: 106.3 MB / 0.8919 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7194/0.9166, allocations: 175 MB / 1.063 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003207/0.917, allocations: 92 kB / 1.063 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07992/0.997, allocations: 31.24 MB / 1.093 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.522e-06/0.997, allocations: 0 / 1.093 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.025e-05/0.997, allocations: 19.31 kB / 1.093 GB, free: 15.71 MB / 0.7136 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.001415/0.9985, allocations: 0.8048 MB / 1.094 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.9985, allocations: 8.031 kB / 1.094 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001285/0.9987, allocations: 96.12 kB / 1.094 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00135/1, allocations: 198 kB / 1.094 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009788/1.001, allocations: 497.1 kB / 1.095 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.039e-05/1.001, allocations: 36.31 kB / 1.095 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/1.001, allocations: 60.42 kB / 1.095 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/1.003, allocations: 0.8582 MB / 1.096 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/1.003, allocations: 11.84 kB / 1.096 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.05e-05/1.003, allocations: 25.36 kB / 1.096 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.409e-05/1.003, allocations: 44.22 kB / 1.096 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008589/1.004, allocations: 0.5544 MB / 1.096 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004472/1.008, allocations: 4.602 MB / 1.101 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004587/1.009, allocations: 298.1 kB / 1.101 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003131/1.009, allocations: 216.8 kB / 1.101 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/1.009, allocations: 11.94 kB / 1.101 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/1.009, allocations: 38.56 kB / 1.101 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 2.334e-06/1.009, allocations: 0 / 1.101 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.005139/1.014, allocations: 2.207 MB / 1.104 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/1.014, allocations: 55.41 kB / 1.104 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005375/1.015, allocations: 383.9 kB / 1.104 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.427e-05/1.015, allocations: 37.7 kB / 1.104 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002724/1.015, allocations: 335.7 kB / 1.104 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000135/1.015, allocations: 149.9 kB / 1.105 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/1.015, allocations: 8 kB / 1.105 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000182/1.015, allocations: 362.7 kB / 1.105 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003905/1.016, allocations: 233 kB / 1.105 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005065/1.016, allocations: 380.5 kB / 1.106 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004775/1.017, allocations: 281.4 kB / 1.106 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/1.017, allocations: 4 kB / 1.106 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001746/1.019, allocations: 0.8827 MB / 1.107 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/1.019, allocations: 8 kB / 1.107 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/1.019, allocations: 4 kB / 1.107 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008241/1.019, allocations: 222.7 kB / 1.107 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005231/1.02, allocations: 115.8 kB / 1.107 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005231/1.025, allocations: 4.915 MB / 1.112 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004515/1.026, allocations: 35.97 kB / 1.112 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.781e-05/1.026, allocations: 24 kB / 1.112 GB, free: 12.66 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * 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.0001751/1.026, allocations: 136.8 kB / 1.112 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/1.026, allocations: 55.34 kB / 1.112 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001576/1.028, allocations: 0.7619 MB / 1.113 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/1.028, allocations: 4 kB / 1.113 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/1.028, allocations: 0 / 1.113 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/1.028, allocations: 3.984 kB / 1.113 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002628/1.03, allocations: 1.478 MB / 1.114 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/1.03, allocations: 4 kB / 1.114 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003804/1.031, allocations: 67.88 kB / 1.114 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007033/1.031, allocations: 210.5 kB / 1.114 GB, free: 9.828 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.556e-05/1.032, allocations: 12 kB / 1.114 GB, free: 9.816 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004759/1.036, allocations: 4.861 MB / 1.119 GB, free: 4.555 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.036, allocations: 0 / 1.119 GB, free: 4.555 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001916/1.038, allocations: 1.196 MB / 1.12 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003087/1.039, allocations: 172.4 kB / 1.121 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.333e-05/1.039, allocations: 12 kB / 1.121 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003477/1.039, allocations: 23.97 kB / 1.121 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.002e-05/1.039, allocations: 39.95 kB / 1.121 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-05/1.039, allocations: 15.95 kB / 1.121 GB, free: 2.992 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003969/1.04, allocations: 305.6 kB / 1.121 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.61e-07/1.04, allocations: 0 / 1.121 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007597/1.04, allocations: 168 kB / 1.121 GB, free: 2.531 MB / 0.7292 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 () * 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.002529/1.043, allocations: 2.269 MB / 1.123 GB, free: 184 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001706/1.045, allocations: 0.9765 MB / 1.124 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.045, allocations: 4.125 kB / 1.124 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000991/1.046, allocations: 0.6716 MB / 1.125 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008401/1.046, allocations: 154.5 kB / 1.125 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00233/1.049, allocations: 1.114 MB / 1.126 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005696/1.049, allocations: 0.961 MB / 1.127 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004047/1.05, allocations: 112.8 kB / 1.127 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000302/1.05, allocations: 211.4 kB / 1.127 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of SimCode: time 6.11e-07/1.05, allocations: 0 / 1.127 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03273/1.083, allocations: 13.18 MB / 1.14 GB, free: 14.87 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002273/1.083, allocations: 191.8 kB / 1.14 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.166/3.249, allocations: 2.812 kB / 1.14 GB, free: 14.64 MB / 0.7605 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)