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.ACSimpleGrid.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.ACSimpleGrid,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",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.582/1.582, allocations: 249.3 MB / 261.8 MB, free: 5.957 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.001065/0.001066, allocations: 182.5 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.73/1.73, allocations: 205.2 MB / 0.572 GB, free: 10.6 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.0008313/0.0008313, allocations: 94.78 kB / 0.6764 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.311e-05/3.312e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2193, allocations: 106.3 MB / 0.8919 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7675/0.9868, allocations: 175.6 MB / 1.063 GB, free: 9.535 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003121/0.9872, allocations: 99.86 kB / 1.063 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08155/1.069, allocations: 28.69 MB / 1.091 GB, free: 1.309 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.383e-06/1.069, allocations: 4 kB / 1.091 GB, free: 1.305 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.68e-05/1.069, allocations: 12 kB / 1.091 GB, free: 1.293 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001403/1.07, allocations: 0.6809 MB / 1.092 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/1.07, allocations: 8.031 kB / 1.092 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001561/1.07, allocations: 73.39 kB / 1.092 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002738/1.073, allocations: 0.571 MB / 1.093 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/1.074, allocations: 488.4 kB / 1.093 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/1.074, allocations: 22.53 kB / 1.093 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.492e-05/1.074, allocations: 31.17 kB / 1.093 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/1.075, allocations: 0.5787 MB / 1.094 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/1.075, allocations: 8 kB / 1.094 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.357e-05/1.076, allocations: 18.42 kB / 1.094 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.675e-05/1.076, allocations: 16.78 kB / 1.094 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008279/1.076, allocations: 0.5111 MB / 1.094 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004348/1.081, allocations: 2.86 MB / 1.097 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000781/1.082, allocations: 348.2 kB / 1.098 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002253/1.082, allocations: 165.9 kB / 1.098 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001258/1.082, allocations: 93.03 kB / 1.098 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/1.082, allocations: 38.25 kB / 1.098 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 2.324e-06/1.082, allocations: 0 / 1.098 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24): time 0.006316/1.088, allocations: 2.026 MB / 1.1 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.557e-05/1.088, allocations: 81.11 kB / 1.1 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005979/1.089, allocations: 371.9 kB / 1.1 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.86e-05/1.089, allocations: 33.52 kB / 1.1 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/1.089, allocations: 236.5 kB / 1.1 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.158e-05/1.089, allocations: 84.52 kB / 1.101 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.91e-05/1.089, allocations: 7.875 kB / 1.101 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000178/1.09, allocations: 345.7 kB / 1.101 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003754/1.09, allocations: 239.1 kB / 1.101 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004681/1.09, allocations: 337.3 kB / 1.101 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004694/1.091, allocations: 270.6 kB / 1.102 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/1.091, allocations: 3.938 kB / 1.102 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003175/1.094, allocations: 1.141 MB / 1.103 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004084/1.095, allocations: 0.7901 MB / 1.104 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/1.095, allocations: 4 kB / 1.104 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002659/1.097, allocations: 0.6336 MB / 1.104 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006524/1.098, allocations: 131.8 kB / 1.104 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004263/1.102, allocations: 3.129 MB / 1.107 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007915/1.103, allocations: 111.9 kB / 1.107 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.254e-05/1.103, allocations: 15.98 kB / 1.107 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/1.103, allocations: 5.094 kB / 1.108 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002352/1.105, allocations: 0.8787 MB / 1.108 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/1.106, allocations: 0 / 1.108 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001498/1.107, allocations: 400.4 kB / 1.109 GB, free: 424 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006329/1.108, allocations: 147.8 kB / 1.109 GB, free: 276 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003151/1.111, allocations: 2.393 MB / 1.111 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00072/1.112, allocations: 103.8 kB / 1.111 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.065e-05/1.112, allocations: 19.98 kB / 1.111 GB, free: 13.62 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001655/1.112, allocations: 124.9 kB / 1.111 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/1.112, allocations: 35.58 kB / 1.111 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003108/1.115, allocations: 1.115 MB / 1.113 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/1.115, allocations: 7.984 kB / 1.113 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/1.115, allocations: 0 / 1.113 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/1.115, allocations: 0 / 1.113 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00391/1.119, allocations: 1.802 MB / 1.114 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/1.119, allocations: 0 / 1.114 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004034/1.119, allocations: 87.94 kB / 1.114 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0024/1.122, allocations: 0.618 MB / 1.115 GB, free: 9.738 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.088e-05/1.122, allocations: 7.984 kB / 1.115 GB, free: 9.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005442/1.127, allocations: 4.376 MB / 1.119 GB, free: 5.086 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-05/1.127, allocations: 7.938 kB / 1.119 GB, free: 5.078 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00287/1.13, allocations: 1.168 MB / 1.12 GB, free: 3.859 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003421/1.131, allocations: 176.6 kB / 1.121 GB, free: 3.668 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.557e-05/1.131, allocations: 4 kB / 1.121 GB, free: 3.664 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005728/1.131, allocations: 91.86 kB / 1.121 GB, free: 3.574 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/1.131, allocations: 23.95 kB / 1.121 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.706e-05/1.131, allocations: 12 kB / 1.121 GB, free: 3.539 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004328/1.132, allocations: 302.1 kB / 1.121 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.7e-07/1.132, allocations: 0 / 1.121 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00105/1.133, allocations: 223.9 kB / 1.121 GB, free: 3.031 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003899/1.137, allocations: 1.988 MB / 1.123 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002403/1.139, allocations: 1.205 MB / 1.124 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/1.139, allocations: 0 / 1.124 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000916/1.14, allocations: 0.5797 MB / 1.125 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007172/1.141, allocations: 113.1 kB / 1.125 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002417/1.143, allocations: 0.9017 MB / 1.126 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000906/1.144, allocations: 0.9213 MB / 1.127 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001067/1.145, allocations: 219.1 kB / 1.127 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003423/1.146, allocations: 135.4 kB / 1.127 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of SimCode: time 2.715e-06/1.146, allocations: 0 / 1.127 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03782/1.184, allocations: 16.2 MB / 1.143 GB, free: 12.78 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/1.184, allocations: 205.3 kB / 1.143 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.232/3.416, allocations: 0 / 1.143 GB, free: 12.55 MB / 0.7605 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)