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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.779/1.779, allocations: 289.7 MB / 302.2 MB, free: 2.207 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.001279/0.001279, allocations: 181.3 kB / 371.6 MB, free: 3.367 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.633/1.633, allocations: 205.2 MB / 0.6309 GB, free: 11.75 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.0009415/0.0009415, allocations: 90.56 kB / 0.745 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.879e-05/3.881e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.26, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8214/1.082, allocations: 182.2 MB / 1.158 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003094/1.082, allocations: 94.61 kB / 1.158 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.08042/1.162, allocations: 31.23 MB / 1.188 GB, free: 6.5 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.354e-06/1.162, allocations: 0 / 1.188 GB, free: 6.5 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 7.847e-05/1.162, allocations: 23.98 kB / 1.188 GB, free: 6.477 MB / 0.7605 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.002517/1.165, allocations: 0.7966 MB / 1.189 GB, free: 5.676 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/1.165, allocations: 8.031 kB / 1.189 GB, free: 5.668 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002604/1.165, allocations: 96.27 kB / 1.189 GB, free: 5.598 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002809/1.168, allocations: 208.6 kB / 1.19 GB, free: 5.395 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/1.17, allocations: 488.1 kB / 1.19 GB, free: 4.93 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.974e-05/1.17, allocations: 38.33 kB / 1.19 GB, free: 4.91 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002693/1.17, allocations: 57.7 kB / 1.19 GB, free: 4.867 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002232/1.172, allocations: 0.8707 MB / 1.191 GB, free: 4.09 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.885e-05/1.173, allocations: 0 / 1.191 GB, free: 4.09 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/1.173, allocations: 25.44 kB / 1.191 GB, free: 4.082 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000117/1.173, allocations: 44.97 kB / 1.191 GB, free: 4.039 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001724/1.175, allocations: 0.5561 MB / 1.192 GB, free: 3.656 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008317/1.183, allocations: 4.608 MB / 1.196 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008127/1.184, allocations: 298.2 kB / 1.196 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005368/1.184, allocations: 222.3 kB / 1.197 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.066e-05/1.184, allocations: 0 / 1.197 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.593e-05/1.184, allocations: 37.44 kB / 1.197 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=33): time 3.536e-06/1.184, allocations: 0 / 1.197 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=40): time 0.008971/1.193, allocations: 2.2 MB / 1.199 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.07e-05/1.193, allocations: 55.41 kB / 1.199 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008663/1.194, allocations: 391.1 kB / 1.199 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.335e-05/1.194, allocations: 36.7 kB / 1.199 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003483/1.195, allocations: 330.2 kB / 1.2 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002049/1.195, allocations: 145.5 kB / 1.2 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.238e-05/1.195, allocations: 13.38 kB / 1.2 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002294/1.195, allocations: 362.3 kB / 1.2 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006026/1.196, allocations: 221.7 kB / 1.2 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007916/1.197, allocations: 385.8 kB / 1.201 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007398/1.198, allocations: 293.4 kB / 1.201 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/1.198, allocations: 0 / 1.201 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002516/1.2, allocations: 0.8865 MB / 1.202 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/1.2, allocations: 7.953 kB / 1.202 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/1.2, allocations: 8 kB / 1.202 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001238/1.201, allocations: 225 kB / 1.202 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007406/1.202, allocations: 111.5 kB / 1.202 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006354/1.209, allocations: 4.927 MB / 1.207 GB, free: 5.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005514/1.209, allocations: 35.7 kB / 1.207 GB, free: 5.242 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.662e-05/1.209, allocations: 19.56 kB / 1.207 GB, free: 5.227 MB / 0.7761 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.0002229/1.209, allocations: 141.2 kB / 1.207 GB, free: 5.098 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/1.21, allocations: 55.34 kB / 1.207 GB, free: 5.043 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00163/1.211, allocations: 0.7601 MB / 1.208 GB, free: 4.496 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/1.211, allocations: 4 kB / 1.208 GB, free: 4.492 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/1.211, allocations: 4 kB / 1.208 GB, free: 4.488 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/1.211, allocations: 7.984 kB / 1.208 GB, free: 4.48 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002596/1.214, allocations: 1.47 MB / 1.209 GB, free: 3.262 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/1.214, allocations: 3.953 kB / 1.209 GB, free: 3.258 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003836/1.214, allocations: 63.89 kB / 1.209 GB, free: 3.195 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007127/1.215, allocations: 207.7 kB / 1.21 GB, free: 3.02 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.708e-05/1.215, allocations: 11.19 kB / 1.21 GB, free: 3.016 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004673/1.22, allocations: 4.857 MB / 1.214 GB, free: 14.21 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.22, allocations: 4.031 kB / 1.214 GB, free: 14.21 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001987/1.222, allocations: 1.203 MB / 1.216 GB, free: 13.22 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003612/1.222, allocations: 172 kB / 1.216 GB, free: 13.05 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/1.222, allocations: 7.938 kB / 1.216 GB, free: 13.05 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003561/1.223, allocations: 26.34 kB / 1.216 GB, free: 13.03 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.777e-05/1.223, allocations: 39.45 kB / 1.216 GB, free: 12.99 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.484e-05/1.223, allocations: 15.88 kB / 1.216 GB, free: 12.98 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003749/1.223, allocations: 308 kB / 1.216 GB, free: 12.75 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.31e-07/1.223, allocations: 0 / 1.216 GB, free: 12.75 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0007169/1.224, allocations: 177.6 kB / 1.216 GB, free: 12.59 MB / 0.7917 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.00243/1.226, allocations: 2.245 MB / 1.218 GB, free: 10.57 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001768/1.228, allocations: 0.9829 MB / 1.219 GB, free: 9.746 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/1.228, allocations: 0 / 1.219 GB, free: 9.746 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/1.229, allocations: 0.6717 MB / 1.22 GB, free: 9.133 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009096/1.23, allocations: 157.8 kB / 1.22 GB, free: 9.02 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002286/1.232, allocations: 1.119 MB / 1.221 GB, free: 7.969 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006762/1.233, allocations: 0.9604 MB / 1.222 GB, free: 7 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0004321/1.234, allocations: 105.7 kB / 1.222 GB, free: 6.895 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002659/1.234, allocations: 210.3 kB / 1.223 GB, free: 6.844 MB / 0.7917 GB Notification: Performance of SimCode: time 4.5e-07/1.234, allocations: 3.938 kB / 1.223 GB, free: 6.84 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.031/1.265, allocations: 13.18 MB / 1.235 GB, free: 9.898 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002053/1.265, allocations: 176.4 kB / 1.236 GB, free: 9.676 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.304/3.569, allocations: 0 / 1.236 GB, free: 9.676 MB / 0.8073 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/linux/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)