Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.782/2.782, allocations: 287.3 MB / 302.3 MB, free: 8.363 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.001572/0.001571, allocations: 175.2 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.161/2.161, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 100.9 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004945/0.0004945, allocations: 11.53 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2109, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9623/1.173, allocations: 181.2 MB / 1.155 GB, free: 2.844 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003604/1.174, allocations: 97.81 kB / 1.155 GB, free: 2.789 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1279/1.302, allocations: 31.41 MB / 1.186 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.054e-06/1.302, allocations: 0 / 1.186 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.605e-05/1.302, allocations: 19.98 kB / 1.186 GB, free: 8.312 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.00219/1.304, allocations: 0.8736 MB / 1.187 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/1.304, allocations: 16.02 kB / 1.187 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002032/1.304, allocations: 103 kB / 1.187 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002218/1.306, allocations: 194.9 kB / 1.187 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0015/1.308, allocations: 0.4947 MB / 1.188 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.574e-05/1.308, allocations: 41.42 kB / 1.188 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002439/1.308, allocations: 53.17 kB / 1.188 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001869/1.31, allocations: 0.8619 MB / 1.189 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.024e-05/1.31, allocations: 11.94 kB / 1.189 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.343e-05/1.31, allocations: 26.67 kB / 1.189 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001068/1.31, allocations: 48.83 kB / 1.189 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/1.312, allocations: 0.5657 MB / 1.189 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006987/1.319, allocations: 4.599 MB / 1.194 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007873/1.32, allocations: 293.2 kB / 1.194 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.372e-05/1.32, allocations: 4 kB / 1.194 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/1.32, allocations: 34.56 kB / 1.194 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 3.416e-06/1.32, allocations: 0 / 1.194 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.009797/1.33, allocations: 2.638 MB / 1.197 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/1.33, allocations: 55.41 kB / 1.197 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007141/1.331, allocations: 399.1 kB / 1.197 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.37e-05/1.331, allocations: 29.64 kB / 1.197 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003151/1.331, allocations: 336.9 kB / 1.197 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001837/1.331, allocations: 150.9 kB / 1.198 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-05/1.331, allocations: 6.812 kB / 1.198 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001894/1.331, allocations: 367.2 kB / 1.198 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005954/1.332, allocations: 229.9 kB / 1.198 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000719/1.333, allocations: 386.4 kB / 1.198 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006976/1.334, allocations: 285.7 kB / 1.199 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/1.334, allocations: 4 kB / 1.199 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00276/1.336, allocations: 0.8981 MB / 1.2 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/1.336, allocations: 8.562 kB / 1.2 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/1.336, allocations: 8 kB / 1.2 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001345/1.338, allocations: 229.5 kB / 1.2 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/1.339, allocations: 103.2 kB / 1.2 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007778/1.347, allocations: 5.014 MB / 1.205 GB, free: 6.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008641/1.348, allocations: 27.03 kB / 1.205 GB, free: 6.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.564e-05/1.348, allocations: 19.62 kB / 1.205 GB, free: 6.715 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 () * 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.0005262/1.348, allocations: 235 kB / 1.205 GB, free: 6.52 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/1.348, allocations: 55.34 kB / 1.205 GB, free: 6.465 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002545/1.351, allocations: 0.7739 MB / 1.206 GB, free: 5.914 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/1.351, allocations: 4 kB / 1.206 GB, free: 5.91 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/1.351, allocations: 0 / 1.206 GB, free: 5.91 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/1.351, allocations: 0 / 1.206 GB, free: 5.91 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004166/1.355, allocations: 1.49 MB / 1.207 GB, free: 4.684 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.361e-05/1.355, allocations: 4 kB / 1.207 GB, free: 4.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007475/1.356, allocations: 71.56 kB / 1.207 GB, free: 4.613 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001203/1.357, allocations: 203.5 kB / 1.208 GB, free: 4.441 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-05/1.357, allocations: 7.688 kB / 1.208 GB, free: 4.438 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007421/1.365, allocations: 4.94 MB / 1.212 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.365, allocations: 384 / 1.212 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003165/1.368, allocations: 1.217 MB / 1.214 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004534/1.368, allocations: 169.7 kB / 1.214 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/1.369, allocations: 19.12 kB / 1.214 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005595/1.369, allocations: 22.41 kB / 1.214 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/1.369, allocations: 38.94 kB / 1.214 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.055e-05/1.369, allocations: 19.7 kB / 1.214 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005383/1.37, allocations: 308.1 kB / 1.214 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.91e-07/1.37, allocations: 0 / 1.214 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001053/1.371, allocations: 187.8 kB / 1.214 GB, free: 13.96 MB / 0.7448 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.003855/1.375, allocations: 2.25 MB / 1.217 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002711/1.378, allocations: 0.987 MB / 1.218 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/1.378, allocations: 0 / 1.218 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001638/1.379, allocations: 0.6828 MB / 1.218 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/1.381, allocations: 163.1 kB / 1.218 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/1.391, allocations: 6.818 MB / 1.225 GB, free: 4.008 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008005/1.392, allocations: 0.9607 MB / 1.226 GB, free: 3.039 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0007209/1.393, allocations: 108.8 kB / 1.226 GB, free: 2.93 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003876/1.393, allocations: 207.4 kB / 1.226 GB, free: 2.879 MB / 0.7448 GB Notification: Performance of SimCode: time 1.152e-06/1.393, allocations: 0 / 1.226 GB, free: 2.879 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05021/1.444, allocations: 13.22 MB / 1.239 GB, free: 5.949 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003571/1.444, allocations: 209.9 kB / 1.239 GB, free: 5.707 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.982/4.426, allocations: 4 kB / 1.239 GB, free: 5.703 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)