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.439/1.439, allocations: 249.5 MB / 257 MB, free: 6.977 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.001067/0.001067, allocations: 180.9 kB / 316.3 MB, free: 3.23 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.602/1.602, allocations: 205.3 MB / 0.5671 GB, free: 15.79 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.0008442/0.0008442, allocations: 82.53 kB / 0.6714 GB, free: 4.906 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.865e-05/1.875e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1938, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6967/0.8906, allocations: 155.2 MB / 1.037 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003302/0.891, allocations: 92.94 kB / 1.037 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.08386/0.9748, allocations: 36.64 MB / 1.073 GB, free: 1.246 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.343e-06/0.9749, allocations: 0 / 1.073 GB, free: 1.246 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.475e-05/0.9749, allocations: 20 kB / 1.073 GB, free: 1.227 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001346/0.9763, allocations: 0.8655 MB / 1.074 GB, free: 372 kB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.9763, allocations: 12.03 kB / 1.074 GB, free: 360 kB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001465/0.9778, allocations: 214.8 kB / 1.074 GB, free: 144 kB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008863/0.9787, allocations: 0.5352 MB / 1.074 GB, free: 15.62 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.9788, allocations: 24 kB / 1.074 GB, free: 15.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.038e-05/0.9789, allocations: 39.98 kB / 1.074 GB, free: 15.56 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007895/0.9797, allocations: 0.5442 MB / 1.075 GB, free: 15.21 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/0.9809, allocations: 0.9861 MB / 1.076 GB, free: 14.29 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/0.9809, allocations: 4 kB / 1.076 GB, free: 14.29 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.668e-05/0.981, allocations: 4 kB / 1.076 GB, free: 14.28 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.41e-05/0.9811, allocations: 59.78 kB / 1.076 GB, free: 14.23 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004569/0.9856, allocations: 5.636 MB / 1.082 GB, free: 8.684 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007123/0.9864, allocations: 0.5784 MB / 1.082 GB, free: 8.215 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005824/0.987, allocations: 389.2 kB / 1.082 GB, free: 7.941 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.9e-05/0.987, allocations: 4 kB / 1.082 GB, free: 7.938 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.9871, allocations: 33.94 kB / 1.082 GB, free: 7.898 MB / 0.698 GB Notification: Performance of pre-optimization done (n=41): time 3.657e-06/0.9871, allocations: 4 kB / 1.082 GB, free: 7.895 MB / 0.698 GB Notification: Performance of matching and sorting (n=42): time 0.002212/0.9893, allocations: 1.157 MB / 1.084 GB, free: 6.988 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.9894, allocations: 59.41 kB / 1.084 GB, free: 6.918 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003239/0.9897, allocations: 329.2 kB / 1.084 GB, free: 6.656 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/0.9897, allocations: 25.7 kB / 1.084 GB, free: 6.625 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/0.9899, allocations: 377.5 kB / 1.084 GB, free: 6.324 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.99, allocations: 147.1 kB / 1.085 GB, free: 6.195 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.262e-05/0.9901, allocations: 0 / 1.085 GB, free: 6.195 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.9902, allocations: 357.7 kB / 1.085 GB, free: 5.859 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/0.9905, allocations: 220.4 kB / 1.085 GB, free: 5.727 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003903/0.9909, allocations: 408.7 kB / 1.085 GB, free: 5.336 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003538/0.9912, allocations: 294.3 kB / 1.086 GB, free: 5.141 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.9912, allocations: 0 / 1.086 GB, free: 5.141 MB / 0.698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001538/0.9928, allocations: 0.9406 MB / 1.087 GB, free: 4.398 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.9928, allocations: 8.75 kB / 1.087 GB, free: 4.391 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.9928, allocations: 8 kB / 1.087 GB, free: 4.383 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008835/0.9937, allocations: 317.2 kB / 1.087 GB, free: 4.117 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002965/0.994, allocations: 86.45 kB / 1.087 GB, free: 4.035 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005964/1, allocations: 6.833 MB / 1.094 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004494/1, allocations: 23.91 kB / 1.094 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.791e-05/1.001, allocations: 23.12 kB / 1.094 GB, free: 13.41 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.0001421/1.001, allocations: 124.4 kB / 1.094 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001286/1.002, allocations: 0.7891 MB / 1.095 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.12e-05/1.002, allocations: 59.3 kB / 1.095 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/1.004, allocations: 0.8401 MB / 1.096 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/1.004, allocations: 7.984 kB / 1.096 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/1.004, allocations: 4 kB / 1.096 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/1.004, allocations: 3.984 kB / 1.096 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002463/1.006, allocations: 1.713 MB / 1.097 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/1.006, allocations: 0 / 1.097 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/1.006, allocations: 55.28 kB / 1.097 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000778/1.007, allocations: 269.8 kB / 1.098 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/1.007, allocations: 0 / 1.098 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005403/1.013, allocations: 6.562 MB / 1.104 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.007e-05/1.013, allocations: 4.031 kB / 1.104 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/1.014, allocations: 0.964 MB / 1.105 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002051/1.014, allocations: 172.5 kB / 1.105 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.53e-05/1.014, allocations: 4 kB / 1.105 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/1.014, allocations: 19.95 kB / 1.105 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.633e-05/1.015, allocations: 31.95 kB / 1.105 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.462e-05/1.015, allocations: 16 kB / 1.105 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002344/1.015, allocations: 243 kB / 1.105 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/1.015, allocations: 4 kB / 1.105 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007793/1.016, allocations: 172 kB / 1.106 GB, free: 2.277 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 (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.001761/1.017, allocations: 1.926 MB / 1.107 GB, free: 280 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001502/1.019, allocations: 1.094 MB / 1.108 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.019, allocations: 0 / 1.108 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0009896/1.02, allocations: 0.7841 MB / 1.109 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007804/1.021, allocations: 157.1 kB / 1.109 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/1.022, allocations: 0.9976 MB / 1.11 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005353/1.023, allocations: 1.004 MB / 1.111 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002694/1.023, allocations: 100.8 kB / 1.111 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002432/1.023, allocations: 223.4 kB / 1.112 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of SimCode: time 1.453e-06/1.023, allocations: 0 / 1.112 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03399/1.057, allocations: 12.78 MB / 1.124 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/1.058, allocations: 165 kB / 1.124 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.175/3.233, allocations: 0 / 1.124 GB, free: 14.88 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)