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_L.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_L,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.751/1.751, allocations: 249.3 MB / 261.8 MB, free: 5.898 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.001126/0.001126, allocations: 180.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.685/1.685, allocations: 205.2 MB / 0.572 GB, free: 10.64 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.000765/0.0007649, allocations: 98.39 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.871e-05/2.873e-05, allocations: 4 kB / 0.788 GB, free: 96.98 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2117, allocations: 106.3 MB / 0.8919 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6749/0.8866, allocations: 154.9 MB / 1.043 GB, free: 13.44 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/0.8869, allocations: 92.25 kB / 1.043 GB, free: 13.39 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.08536/0.9723, allocations: 36.77 MB / 1.079 GB, free: 14.44 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9723, allocations: 7.938 kB / 1.079 GB, free: 14.43 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.589e-05/0.9724, allocations: 20 kB / 1.079 GB, free: 14.41 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001405/0.9738, allocations: 0.8712 MB / 1.08 GB, free: 13.54 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.9739, allocations: 8.031 kB / 1.08 GB, free: 13.53 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001273/0.974, allocations: 116.2 kB / 1.08 GB, free: 13.45 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001403/0.9754, allocations: 218.8 kB / 1.08 GB, free: 13.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008871/0.9763, allocations: 0.531 MB / 1.081 GB, free: 12.72 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.892e-05/0.9764, allocations: 45.8 kB / 1.081 GB, free: 12.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.89e-05/0.9765, allocations: 64.91 kB / 1.081 GB, free: 12.65 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/0.9779, allocations: 1.073 MB / 1.082 GB, free: 11.68 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/0.9779, allocations: 15.11 kB / 1.082 GB, free: 11.67 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-05/0.978, allocations: 33.67 kB / 1.082 GB, free: 11.66 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.02e-05/0.978, allocations: 56.47 kB / 1.082 GB, free: 11.61 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009212/0.979, allocations: 0.6675 MB / 1.083 GB, free: 11.14 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0048/0.9838, allocations: 5.788 MB / 1.088 GB, free: 5.098 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008216/0.9846, allocations: 0.5844 MB / 1.089 GB, free: 4.469 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006601/0.9853, allocations: 388.7 kB / 1.089 GB, free: 4.086 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.59e-05/0.9854, allocations: 4 kB / 1.089 GB, free: 4.082 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.9854, allocations: 39.25 kB / 1.089 GB, free: 4.035 MB / 0.698 GB Notification: Performance of pre-optimization done (n=41): time 2.044e-06/0.9854, allocations: 4 kB / 1.089 GB, free: 4.031 MB / 0.698 GB Notification: Performance of matching and sorting (n=42): time 0.002247/0.9877, allocations: 1.215 MB / 1.091 GB, free: 2.793 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.9877, allocations: 55.41 kB / 1.091 GB, free: 2.727 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003971/0.9881, allocations: 388.7 kB / 1.091 GB, free: 2.344 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/0.9882, allocations: 33.7 kB / 1.091 GB, free: 2.305 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002288/0.9884, allocations: 383.2 kB / 1.091 GB, free: 1.922 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.9885, allocations: 149.9 kB / 1.092 GB, free: 1.773 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-05/0.9886, allocations: 12 kB / 1.092 GB, free: 1.762 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.9887, allocations: 362.8 kB / 1.092 GB, free: 1.398 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003286/0.989, allocations: 233 kB / 1.092 GB, free: 1.172 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004532/0.9895, allocations: 417.4 kB / 1.093 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004016/0.9899, allocations: 300.5 kB / 1.093 GB, free: 392 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.9899, allocations: 3.953 kB / 1.093 GB, free: 388 kB / 0.698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00169/0.9916, allocations: 1.007 MB / 1.094 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.9917, allocations: 12.7 kB / 1.094 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.9917, allocations: 4 kB / 1.094 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009667/0.9926, allocations: 327 kB / 1.094 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002825/0.9929, allocations: 83.89 kB / 1.094 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006777/0.9997, allocations: 7.098 MB / 1.101 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003877/1, allocations: 31.97 kB / 1.101 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-05/1, allocations: 24 kB / 1.101 GB, free: 7.211 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 (49): * Single equations (assignments): 45 * 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%) 8,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001373/1, allocations: 142.2 kB / 1.101 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.553e-05/1, allocations: 55.34 kB / 1.101 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001677/1.002, allocations: 0.8923 MB / 1.102 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/1.002, allocations: 4 kB / 1.102 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/1.002, allocations: 4 kB / 1.102 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/1.002, allocations: 3.984 kB / 1.102 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0029/1.005, allocations: 1.863 MB / 1.104 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/1.005, allocations: 4 kB / 1.104 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/1.005, allocations: 43.91 kB / 1.104 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008523/1.006, allocations: 275.2 kB / 1.104 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.057e-05/1.006, allocations: 8 kB / 1.104 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006405/1.013, allocations: 6.824 MB / 1.111 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/1.013, allocations: 4.062 kB / 1.111 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/1.014, allocations: 1.009 MB / 1.112 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002837/1.015, allocations: 168.4 kB / 1.112 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.982e-05/1.015, allocations: 12 kB / 1.112 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002705/1.015, allocations: 19.97 kB / 1.112 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.752e-05/1.015, allocations: 39.95 kB / 1.112 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/1.015, allocations: 12 kB / 1.112 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003564/1.016, allocations: 297.8 kB / 1.113 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.016, allocations: 0 / 1.113 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008525/1.016, allocations: 199.9 kB / 1.113 GB, free: 10.54 MB / 0.7292 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 (25): * Single equations (assignments): 21 * 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 {(1,100.0%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002064/1.018, allocations: 1.968 MB / 1.115 GB, free: 8.488 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001782/1.02, allocations: 1.148 MB / 1.116 GB, free: 7.285 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.02, allocations: 0 / 1.116 GB, free: 7.285 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001154/1.021, allocations: 0.815 MB / 1.117 GB, free: 6.418 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008391/1.022, allocations: 180.5 kB / 1.117 GB, free: 6.246 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002159/1.024, allocations: 1.048 MB / 1.118 GB, free: 5.145 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005977/1.025, allocations: 1.004 MB / 1.119 GB, free: 4.113 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003426/1.025, allocations: 97.19 kB / 1.119 GB, free: 4.016 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002831/1.026, allocations: 227.4 kB / 1.119 GB, free: 3.793 MB / 0.7292 GB Notification: Performance of SimCode: time 2.385e-06/1.026, allocations: 0 / 1.119 GB, free: 3.793 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02786/1.054, allocations: 14.03 MB / 1.133 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/1.054, allocations: 186.1 kB / 1.133 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.442/3.496, allocations: 8 kB / 1.133 GB, free: 5.73 MB / 0.7448 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)