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.537/1.537, allocations: 249.5 MB / 257 MB, free: 6.914 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.001188/0.001188, allocations: 188.3 kB / 316.3 MB, free: 3.215 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.61/1.61, allocations: 205.3 MB / 0.5671 GB, free: 15.79 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.0007834/0.0007835, allocations: 82.53 kB / 0.6714 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.877e-05/1.877e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2183, allocations: 106.3 MB / 0.8853 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7662/0.9845, allocations: 175.2 MB / 1.056 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/0.9849, allocations: 98.67 kB / 1.057 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07585/1.061, allocations: 31.11 MB / 1.087 GB, free: 2.754 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.763e-06/1.061, allocations: 0 / 1.087 GB, free: 2.754 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.045e-05/1.061, allocations: 19.98 kB / 1.087 GB, free: 2.734 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.001722/1.063, allocations: 0.8015 MB / 1.088 GB, free: 1.93 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/1.063, allocations: 8.031 kB / 1.088 GB, free: 1.922 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001649/1.064, allocations: 194.8 kB / 1.088 GB, free: 1.734 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/1.065, allocations: 498.3 kB / 1.088 GB, free: 1.258 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.201e-05/1.066, allocations: 16 kB / 1.088 GB, free: 1.242 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002101/1.066, allocations: 35.98 kB / 1.088 GB, free: 1.207 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009078/1.067, allocations: 459.4 kB / 1.089 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/1.068, allocations: 0.7929 MB / 1.09 GB, free: 184 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.304e-05/1.068, allocations: 7.906 kB / 1.09 GB, free: 176 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.106e-05/1.068, allocations: 4 kB / 1.09 GB, free: 172 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.628e-05/1.068, allocations: 45.22 kB / 1.09 GB, free: 132 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00492/1.073, allocations: 4.474 MB / 1.094 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004361/1.073, allocations: 284.7 kB / 1.094 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002894/1.074, allocations: 212.5 kB / 1.095 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.472e-05/1.074, allocations: 7.984 kB / 1.095 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/1.074, allocations: 45.56 kB / 1.095 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 2.195e-06/1.074, allocations: 0 / 1.095 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.003973/1.078, allocations: 1.979 MB / 1.097 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/1.078, allocations: 55.41 kB / 1.097 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004014/1.078, allocations: 336.6 kB / 1.097 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.748e-05/1.078, allocations: 25.7 kB / 1.097 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002232/1.079, allocations: 335.6 kB / 1.097 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/1.079, allocations: 146.4 kB / 1.097 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.458e-05/1.079, allocations: 0 / 1.097 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001797/1.079, allocations: 356.8 kB / 1.098 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002859/1.079, allocations: 211.7 kB / 1.098 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003919/1.08, allocations: 374.6 kB / 1.098 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003634/1.08, allocations: 270.9 kB / 1.099 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/1.08, allocations: 4 kB / 1.099 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001448/1.081, allocations: 0.8234 MB / 1.099 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/1.081, allocations: 4 kB / 1.099 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/1.081, allocations: 11.95 kB / 1.099 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007231/1.082, allocations: 220.1 kB / 1.1 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005036/1.083, allocations: 107 kB / 1.1 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004544/1.087, allocations: 4.74 MB / 1.104 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004664/1.088, allocations: 19.97 kB / 1.104 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.083e-05/1.088, allocations: 19.94 kB / 1.104 GB, free: 2.324 MB / 0.7136 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.0001463/1.088, allocations: 116.8 kB / 1.104 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001254/1.089, allocations: 0.6811 MB / 1.105 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/1.089, allocations: 51.34 kB / 1.105 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/1.091, allocations: 0.7166 MB / 1.106 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/1.091, allocations: 7.984 kB / 1.106 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/1.091, allocations: 4 kB / 1.106 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/1.091, allocations: 0 / 1.106 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002334/1.093, allocations: 1.362 MB / 1.107 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/1.093, allocations: 4 kB / 1.107 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003842/1.094, allocations: 71.12 kB / 1.107 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006662/1.094, allocations: 201.9 kB / 1.107 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.239e-05/1.094, allocations: 0 / 1.107 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004605/1.099, allocations: 4.673 MB / 1.112 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/1.099, allocations: 4 kB / 1.112 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001799/1.101, allocations: 1.162 MB / 1.113 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003116/1.101, allocations: 169.3 kB / 1.113 GB, free: 9.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.458e-05/1.101, allocations: 7.984 kB / 1.113 GB, free: 9.973 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000323/1.101, allocations: 19.97 kB / 1.113 GB, free: 9.953 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.51e-05/1.102, allocations: 38.03 kB / 1.113 GB, free: 9.922 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.632e-05/1.102, allocations: 15.69 kB / 1.113 GB, free: 9.91 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000273/1.102, allocations: 251.6 kB / 1.114 GB, free: 9.719 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.5e-07/1.102, allocations: 0 / 1.114 GB, free: 9.719 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006994/1.103, allocations: 151.9 kB / 1.114 GB, free: 9.57 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.002171/1.105, allocations: 2.193 MB / 1.116 GB, free: 7.578 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001545/1.106, allocations: 0.9365 MB / 1.117 GB, free: 6.805 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/1.106, allocations: 4 kB / 1.117 GB, free: 6.801 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0008815/1.107, allocations: 0.6315 MB / 1.117 GB, free: 6.234 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007581/1.108, allocations: 142.9 kB / 1.118 GB, free: 6.121 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/1.11, allocations: 1.068 MB / 1.119 GB, free: 5.098 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005193/1.111, allocations: 0.9588 MB / 1.12 GB, free: 4.129 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003734/1.111, allocations: 104.6 kB / 1.12 GB, free: 4.027 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002645/1.111, allocations: 207.4 kB / 1.12 GB, free: 3.824 MB / 0.7292 GB Notification: Performance of SimCode: time 4.71e-07/1.111, allocations: 4 kB / 1.12 GB, free: 3.82 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03492/1.146, allocations: 11.9 MB / 1.132 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002531/1.147, allocations: 151.3 kB / 1.132 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.154/3.301, allocations: 4 kB / 1.132 GB, free: 7.855 MB / 0.7448 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)