Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 2.007/2.007, allocations: 285.6 MB / 293.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009404/0.0009406, allocations: 172.9 kB / 361.4 MB, free: 6.863 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.696/1.696, allocations: 205.2 MB / 0.62 GB, free: 11.65 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008058/0.0008058, allocations: 88.58 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.574e-05/2.586e-05, allocations: 4 kB / 0.8518 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6634/0.6635, allocations: 115.3 MB / 0.9645 GB, free: 78.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2532/0.9168, allocations: 180.6 MB / 1.141 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004888/0.9173, allocations: 93.95 kB / 1.141 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.09398/1.011, allocations: 31.12 MB / 1.171 GB, free: 7.773 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.517e-06/1.011, allocations: 4 kB / 1.171 GB, free: 7.77 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.486e-05/1.011, allocations: 16 kB / 1.171 GB, free: 7.754 MB / 0.7761 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.001471/1.013, allocations: 0.8023 MB / 1.172 GB, free: 6.906 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/1.013, allocations: 8.031 kB / 1.172 GB, free: 6.898 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001577/1.015, allocations: 195.9 kB / 1.172 GB, free: 6.707 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009345/1.016, allocations: 496.2 kB / 1.173 GB, free: 6.188 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/1.016, allocations: 16 kB / 1.173 GB, free: 6.172 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/1.016, allocations: 39.89 kB / 1.173 GB, free: 6.133 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007977/1.017, allocations: 460 kB / 1.173 GB, free: 5.684 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/1.018, allocations: 0.7928 MB / 1.174 GB, free: 4.777 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/1.018, allocations: 0 / 1.174 GB, free: 4.777 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.719e-05/1.018, allocations: 7.938 kB / 1.174 GB, free: 4.77 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.53e-05/1.018, allocations: 45.28 kB / 1.174 GB, free: 4.727 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004603/1.022, allocations: 4.479 MB / 1.178 GB, free: 15.91 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004784/1.023, allocations: 283.2 kB / 1.179 GB, free: 15.63 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003141/1.023, allocations: 212.7 kB / 1.179 GB, free: 15.42 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.033e-05/1.023, allocations: 4 kB / 1.179 GB, free: 15.41 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/1.023, allocations: 46.5 kB / 1.179 GB, free: 15.36 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=33): time 3.176e-06/1.023, allocations: 0 / 1.179 GB, free: 15.36 MB / 0.7917 GB Notification: Performance of matching and sorting (n=40): time 0.004094/1.027, allocations: 1.979 MB / 1.181 GB, free: 13.29 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/1.027, allocations: 55.41 kB / 1.181 GB, free: 13.23 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003703/1.028, allocations: 333.1 kB / 1.181 GB, free: 12.9 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/1.028, allocations: 27.48 kB / 1.181 GB, free: 12.87 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002186/1.028, allocations: 339.6 kB / 1.182 GB, free: 12.53 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/1.028, allocations: 138 kB / 1.182 GB, free: 12.39 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-05/1.028, allocations: 0 / 1.182 GB, free: 12.39 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001578/1.028, allocations: 358.8 kB / 1.182 GB, free: 12.03 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003075/1.029, allocations: 213.1 kB / 1.182 GB, free: 11.82 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003981/1.029, allocations: 371.3 kB / 1.183 GB, free: 11.39 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003941/1.03, allocations: 273.4 kB / 1.183 GB, free: 11.12 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/1.03, allocations: 4 kB / 1.183 GB, free: 11.12 MB / 0.7917 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001532/1.031, allocations: 0.8241 MB / 1.184 GB, free: 10.28 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/1.031, allocations: 8 kB / 1.184 GB, free: 10.27 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/1.031, allocations: 4 kB / 1.184 GB, free: 10.27 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007593/1.032, allocations: 218.7 kB / 1.184 GB, free: 10.05 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005139/1.032, allocations: 114 kB / 1.184 GB, free: 9.938 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004622/1.037, allocations: 4.728 MB / 1.189 GB, free: 4.867 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005087/1.038, allocations: 19.97 kB / 1.189 GB, free: 4.848 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.303e-05/1.038, allocations: 23.98 kB / 1.189 GB, free: 4.824 MB / 0.7917 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.0001683/1.038, allocations: 120.6 kB / 1.189 GB, free: 4.699 MB / 0.7917 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00138/1.039, allocations: 0.6891 MB / 1.189 GB, free: 3.996 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.078e-05/1.039, allocations: 48.66 kB / 1.19 GB, free: 3.949 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/1.041, allocations: 0.719 MB / 1.19 GB, free: 3.215 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/1.041, allocations: 4 kB / 1.19 GB, free: 3.211 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/1.041, allocations: 4 kB / 1.19 GB, free: 3.207 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/1.041, allocations: 0 / 1.19 GB, free: 3.207 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002236/1.043, allocations: 1.362 MB / 1.192 GB, free: 1.77 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/1.043, allocations: 4 kB / 1.192 GB, free: 1.766 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003885/1.043, allocations: 67.89 kB / 1.192 GB, free: 1.699 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000688/1.044, allocations: 202.6 kB / 1.192 GB, free: 1.492 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/1.044, allocations: 48 / 1.192 GB, free: 1.492 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004658/1.049, allocations: 4.664 MB / 1.196 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/1.049, allocations: 4.031 kB / 1.196 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002002/1.051, allocations: 1.166 MB / 1.198 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003671/1.051, allocations: 166.7 kB / 1.198 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/1.051, allocations: 3.984 kB / 1.198 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003507/1.052, allocations: 19.97 kB / 1.198 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.383e-05/1.052, allocations: 35.97 kB / 1.198 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.364e-05/1.052, allocations: 17.88 kB / 1.198 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0003331/1.052, allocations: 254.9 kB / 1.198 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.41e-07/1.052, allocations: 0 / 1.198 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007983/1.053, allocations: 159.9 kB / 1.198 GB, free: 10.57 MB / 0.8073 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.002351/1.055, allocations: 2.198 MB / 1.2 GB, free: 8.285 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001719/1.057, allocations: 0.9274 MB / 1.201 GB, free: 7.328 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/1.057, allocations: 4 kB / 1.201 GB, free: 7.324 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/1.058, allocations: 0.6342 MB / 1.202 GB, free: 6.66 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009355/1.059, allocations: 139.4 kB / 1.202 GB, free: 6.531 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002482/1.062, allocations: 1.068 MB / 1.203 GB, free: 5.402 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006703/1.062, allocations: 0.9648 MB / 1.204 GB, free: 4.41 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0004235/1.063, allocations: 104.1 kB / 1.204 GB, free: 4.312 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003171/1.063, allocations: 203.4 kB / 1.204 GB, free: 4.113 MB / 0.8073 GB Notification: Performance of SimCode: time 9.81e-07/1.063, allocations: 5.031 kB / 1.204 GB, free: 4.109 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04825/1.111, allocations: 11.91 MB / 1.216 GB, free: 8.457 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002579/1.112, allocations: 159.1 kB / 1.216 GB, free: 8.266 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.209/3.321, allocations: 0 / 1.216 GB, free: 8.266 MB / 0.823 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)