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_R.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_R,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",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.45/1.45, allocations: 249.5 MB / 257 MB, free: 6.863 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.0009868/0.0009868, allocations: 183.6 kB / 316.3 MB, free: 3.238 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.635/1.635, allocations: 205.3 MB / 0.5671 GB, free: 15.91 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.0009221/0.000922, allocations: 102 kB / 0.6714 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.593e-05/2.606e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.191, allocations: 106.3 MB / 0.8853 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7031/0.8941, allocations: 154 MB / 1.036 GB, free: 1.34 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003434/0.8945, allocations: 93.62 kB / 1.036 GB, free: 1.289 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.08642/0.981, allocations: 36.39 MB / 1.071 GB, free: 2.816 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.192e-06/0.981, allocations: 0 / 1.071 GB, free: 2.816 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.508e-05/0.9811, allocations: 23.94 kB / 1.071 GB, free: 2.793 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001549/0.9826, allocations: 0.9544 MB / 1.072 GB, free: 1.844 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.9827, allocations: 12.03 kB / 1.072 GB, free: 1.832 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001418/0.9841, allocations: 242.2 kB / 1.073 GB, free: 1.598 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007739/0.9849, allocations: 0.5302 MB / 1.073 GB, free: 1.09 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.9849, allocations: 20 kB / 1.073 GB, free: 1.07 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.35e-05/0.985, allocations: 40 kB / 1.073 GB, free: 1.031 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008631/0.9859, allocations: 0.6022 MB / 1.074 GB, free: 0.6406 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/0.9872, allocations: 1.01 MB / 1.075 GB, free: 15.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/0.9872, allocations: 7.938 kB / 1.075 GB, free: 15.69 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.006e-05/0.9873, allocations: 4 kB / 1.075 GB, free: 15.69 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.997e-05/0.9874, allocations: 57.22 kB / 1.075 GB, free: 15.63 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004879/0.9923, allocations: 5.762 MB / 1.08 GB, free: 10 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008212/0.9931, allocations: 0.5222 MB / 1.081 GB, free: 9.648 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003739/0.9935, allocations: 317.9 kB / 1.081 GB, free: 9.453 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/0.9935, allocations: 4.438 kB / 1.081 GB, free: 9.449 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.9936, allocations: 46 kB / 1.081 GB, free: 9.402 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 4.539e-06/0.9936, allocations: 3.984 kB / 1.081 GB, free: 9.398 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.001938/0.9955, allocations: 1.163 MB / 1.082 GB, free: 8.48 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.9956, allocations: 55.84 kB / 1.082 GB, free: 8.414 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003784/0.996, allocations: 394.4 kB / 1.083 GB, free: 8.109 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.369e-05/0.996, allocations: 29.64 kB / 1.083 GB, free: 8.074 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002187/0.9962, allocations: 412.3 kB / 1.083 GB, free: 7.758 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.9963, allocations: 157.9 kB / 1.083 GB, free: 7.621 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.753e-05/0.9964, allocations: 4 kB / 1.083 GB, free: 7.617 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.9965, allocations: 371.3 kB / 1.084 GB, free: 7.27 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000305/0.9968, allocations: 249 kB / 1.084 GB, free: 7.117 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004206/0.9973, allocations: 441.2 kB / 1.084 GB, free: 6.715 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004005/0.9977, allocations: 315.8 kB / 1.085 GB, free: 6.508 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-06/0.9977, allocations: 4 kB / 1.085 GB, free: 6.504 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001542/0.9992, allocations: 0.9682 MB / 1.086 GB, free: 5.746 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.9993, allocations: 10.19 kB / 1.086 GB, free: 5.738 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.191e-05/0.9993, allocations: 8 kB / 1.086 GB, free: 5.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008081/1, allocations: 264.8 kB / 1.086 GB, free: 5.508 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004703/1.001, allocations: 118.4 kB / 1.086 GB, free: 5.395 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005762/1.006, allocations: 6.333 MB / 1.092 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005889/1.007, allocations: 27.89 kB / 1.092 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-05/1.007, allocations: 31.44 kB / 1.092 GB, free: 15.16 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001612/1.007, allocations: 122.2 kB / 1.092 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001211/1.008, allocations: 0.7818 MB / 1.093 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/1.009, allocations: 63.34 kB / 1.093 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/1.01, allocations: 0.8206 MB / 1.094 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/1.01, allocations: 4 kB / 1.094 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.01, allocations: 8 kB / 1.094 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/1.01, allocations: 3.984 kB / 1.094 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002318/1.012, allocations: 1.562 MB / 1.096 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/1.012, allocations: 0 / 1.096 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002636/1.013, allocations: 59.89 kB / 1.096 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006944/1.013, allocations: 266 kB / 1.096 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.067e-05/1.013, allocations: 7.953 kB / 1.096 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005407/1.019, allocations: 6.306 MB / 1.102 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/1.019, allocations: 4.031 kB / 1.102 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/1.02, allocations: 0.9973 MB / 1.103 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002495/1.02, allocations: 188.3 kB / 1.103 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.923e-05/1.021, allocations: 4 kB / 1.103 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003381/1.021, allocations: 19.95 kB / 1.103 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.142e-05/1.021, allocations: 43.89 kB / 1.103 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/1.021, allocations: 12 kB / 1.103 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003124/1.021, allocations: 306.9 kB / 1.104 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/1.021, allocations: 3.938 kB / 1.104 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007854/1.022, allocations: 204 kB / 1.104 GB, free: 4.324 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001732/1.024, allocations: 1.962 MB / 1.106 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001703/1.026, allocations: 1.173 MB / 1.107 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/1.026, allocations: 8 kB / 1.107 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001145/1.027, allocations: 0.8271 MB / 1.108 GB, free: 200 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009033/1.028, allocations: 169.3 kB / 1.108 GB, free: 32 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002399/1.03, allocations: 1.092 MB / 1.109 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007891/1.031, allocations: 1.024 MB / 1.11 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000415/1.031, allocations: 109.4 kB / 1.11 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003121/1.032, allocations: 243.4 kB / 1.11 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of SimCode: time 1.323e-06/1.032, allocations: 0 / 1.11 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03623/1.068, allocations: 14.52 MB / 1.124 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002127/1.068, allocations: 158.6 kB / 1.125 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.282/3.35, allocations: 0 / 1.125 GB, free: 14.89 MB / 0.7448 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)