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.496/1.496, allocations: 251.9 MB / 266.9 MB, free: 11 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.001067/0.001067, allocations: 179.6 kB / 326.5 MB, free: 2.234 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.789/1.789, allocations: 205.4 MB / 0.5775 GB, free: 20.54 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.0009577/0.0009577, allocations: 94.91 kB / 0.6821 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000345/0.000345, allocations: 8.844 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2548, allocations: 106.3 MB / 0.9002 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7813/1.036, allocations: 175 MB / 1.071 GB, free: 154.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003524/1.037, allocations: 99.12 kB / 1.071 GB, free: 154.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.07555/1.112, allocations: 31.43 MB / 1.102 GB, free: 131.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.645e-06/1.112, allocations: 0 / 1.102 GB, free: 131.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.198e-05/1.112, allocations: 16 kB / 1.102 GB, free: 131.8 MB / 0.698 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.001986/1.114, allocations: 0.8683 MB / 1.103 GB, free: 130.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/1.114, allocations: 8.031 kB / 1.103 GB, free: 130.8 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002314/1.115, allocations: 106.5 kB / 1.103 GB, free: 130.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001491/1.116, allocations: 191 kB / 1.103 GB, free: 130.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/1.117, allocations: 0.4973 MB / 1.104 GB, free: 130 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.514e-05/1.117, allocations: 36.98 kB / 1.104 GB, free: 130 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/1.117, allocations: 63.91 kB / 1.104 GB, free: 129.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/1.118, allocations: 0.8605 MB / 1.104 GB, free: 128.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.891e-05/1.118, allocations: 7.938 kB / 1.104 GB, free: 128.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.306e-05/1.119, allocations: 23.98 kB / 1.104 GB, free: 128.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.742e-05/1.119, allocations: 48.97 kB / 1.105 GB, free: 128.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000808/1.119, allocations: 0.5658 MB / 1.105 GB, free: 128.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003851/1.123, allocations: 4.604 MB / 1.11 GB, free: 123.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004024/1.124, allocations: 294.4 kB / 1.11 GB, free: 123 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/1.124, allocations: 4 kB / 1.11 GB, free: 123 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/1.124, allocations: 34.56 kB / 1.11 GB, free: 123 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 2.134e-06/1.124, allocations: 8 kB / 1.11 GB, free: 123 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.005006/1.129, allocations: 2.64 MB / 1.112 GB, free: 120.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/1.129, allocations: 55.41 kB / 1.113 GB, free: 120.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004211/1.129, allocations: 393.2 kB / 1.113 GB, free: 119.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.848e-05/1.129, allocations: 37.7 kB / 1.113 GB, free: 119.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/1.129, allocations: 331.8 kB / 1.113 GB, free: 119.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.669e-05/1.13, allocations: 142 kB / 1.113 GB, free: 119.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/1.13, allocations: 16 kB / 1.113 GB, free: 119.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.898e-05/1.13, allocations: 362.7 kB / 1.114 GB, free: 118.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002919/1.13, allocations: 233 kB / 1.114 GB, free: 118.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003467/1.13, allocations: 388.4 kB / 1.114 GB, free: 118.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003529/1.131, allocations: 281.5 kB / 1.115 GB, free: 117.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.131, allocations: 8 kB / 1.115 GB, free: 117.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001418/1.132, allocations: 0.8864 MB / 1.115 GB, free: 117 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/1.132, allocations: 11.98 kB / 1.116 GB, free: 117 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/1.132, allocations: 4 kB / 1.116 GB, free: 117 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008241/1.133, allocations: 226.9 kB / 1.116 GB, free: 116.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004894/1.134, allocations: 111.8 kB / 1.116 GB, free: 116.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003968/1.138, allocations: 5.009 MB / 1.121 GB, free: 111.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005594/1.138, allocations: 27.97 kB / 1.121 GB, free: 111.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.19e-05/1.138, allocations: 27.98 kB / 1.121 GB, free: 111.2 MB / 0.698 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 () * Number of clocked 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.0003948/1.139, allocations: 225.6 kB / 1.121 GB, free: 111 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/1.139, allocations: 55.34 kB / 1.121 GB, free: 110.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/1.14, allocations: 0.7772 MB / 1.122 GB, free: 110.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/1.14, allocations: 4 kB / 1.122 GB, free: 110.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/1.14, allocations: 4 kB / 1.122 GB, free: 110.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/1.14, allocations: 7.922 kB / 1.122 GB, free: 110.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002351/1.143, allocations: 1.474 MB / 1.123 GB, free: 108.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/1.143, allocations: 12.16 kB / 1.123 GB, free: 108.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003635/1.143, allocations: 71.88 kB / 1.123 GB, free: 108.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006051/1.144, allocations: 202.4 kB / 1.124 GB, free: 108.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.711e-05/1.144, allocations: 8 kB / 1.124 GB, free: 108.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003656/1.147, allocations: 4.939 MB / 1.128 GB, free: 102.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/1.147, allocations: 0 / 1.128 GB, free: 102.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/1.149, allocations: 1.219 MB / 1.13 GB, free: 101.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003431/1.149, allocations: 172.4 kB / 1.13 GB, free: 101.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/1.149, allocations: 8.375 kB / 1.13 GB, free: 101.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003606/1.15, allocations: 31.95 kB / 1.13 GB, free: 101.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.526e-05/1.15, allocations: 31.97 kB / 1.13 GB, free: 101.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/1.15, allocations: 12 kB / 1.13 GB, free: 101.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003629/1.15, allocations: 310.8 kB / 1.13 GB, free: 101 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.15, allocations: 4.062 kB / 1.13 GB, free: 101 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007976/1.151, allocations: 179.9 kB / 1.13 GB, free: 100.8 MB / 0.698 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.002092/1.153, allocations: 2.256 MB / 1.132 GB, free: 98.49 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001873/1.155, allocations: 1.004 MB / 1.133 GB, free: 97.45 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/1.155, allocations: 0 / 1.133 GB, free: 97.45 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/1.156, allocations: 0.6721 MB / 1.134 GB, free: 96.74 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009967/1.157, allocations: 168.5 kB / 1.134 GB, free: 96.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006706/1.164, allocations: 6.82 MB / 1.141 GB, free: 89.59 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000404/1.164, allocations: 0.9571 MB / 1.142 GB, free: 88.61 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004337/1.165, allocations: 112.8 kB / 1.142 GB, free: 88.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002365/1.165, allocations: 215.4 kB / 1.142 GB, free: 88.29 MB / 0.698 GB Notification: Performance of SimCode: time 1.102e-06/1.165, allocations: 3.938 kB / 1.142 GB, free: 88.28 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02789/1.193, allocations: 13.22 MB / 1.155 GB, free: 75.35 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001563/1.193, allocations: 223.5 kB / 1.155 GB, free: 75.11 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.381/3.574, allocations: 4 kB / 1.155 GB, free: 75.1 MB / 0.698 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)