Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.856/1.856, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.001165/0.001165, allocations: 168.8 kB / 361.4 MB, free: 6.852 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.8/1.8, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000851/0.000851, allocations: 102.2 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.817e-05/2.801e-05, allocations: 4 kB / 0.8518 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6441/0.6442, allocations: 115.3 MB / 0.9645 GB, free: 78.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2676/0.9118, allocations: 208.9 MB / 1.168 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005328/0.9124, allocations: 95.94 kB / 1.169 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.244/1.156, allocations: 84.84 MB / 1.251 GB, free: 5.273 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.302e-06/1.156, allocations: 4 kB / 1.251 GB, free: 5.27 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001498/1.157, allocations: 39.94 kB / 1.251 GB, free: 5.23 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004132/1.161, allocations: 1.626 MB / 1.253 GB, free: 3.555 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/1.161, allocations: 8.031 kB / 1.253 GB, free: 3.547 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01238/1.173, allocations: 1.96 MB / 1.255 GB, free: 1.582 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5179/1.691, allocations: 2.066 MB / 1.257 GB, free: 208.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.592e-05/1.691, allocations: 37.19 kB / 1.257 GB, free: 208.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000414/1.692, allocations: 74.97 kB / 1.257 GB, free: 208.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003689/1.695, allocations: 1.647 MB / 1.259 GB, free: 208.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004033/1.699, allocations: 2.052 MB / 1.261 GB, free: 207.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.154e-05/1.7, allocations: 3.953 kB / 1.261 GB, free: 207.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001899/1.7, allocations: 8.969 kB / 1.261 GB, free: 207.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001617/1.7, allocations: 93.64 kB / 1.261 GB, free: 207.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01591/1.716, allocations: 10.44 MB / 1.271 GB, free: 202.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002311/1.718, allocations: 1.481 MB / 1.272 GB, free: 202.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0011/1.719, allocations: 0.8611 MB / 1.273 GB, free: 202.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.445e-05/1.719, allocations: 12.27 kB / 1.273 GB, free: 202.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/1.719, allocations: 49.25 kB / 1.273 GB, free: 202.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=89): time 2.605e-06/1.719, allocations: 0 / 1.273 GB, free: 202.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=153): time 0.01784/1.737, allocations: 6.903 MB / 1.28 GB, free: 201.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.231e-05/1.737, allocations: 222.2 kB / 1.28 GB, free: 201.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00169/1.739, allocations: 0.8114 MB / 1.281 GB, free: 201.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004039/1.74, allocations: 29.77 kB / 1.281 GB, free: 201.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006202/1.74, allocations: 0.7464 MB / 1.282 GB, free: 201.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005929/1.741, allocations: 0.492 MB / 1.282 GB, free: 200.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/1.741, allocations: 0 / 1.282 GB, free: 200.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000145/1.741, allocations: 367.9 kB / 1.283 GB, free: 200.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001789/1.743, allocations: 1.096 MB / 1.284 GB, free: 200.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001949/1.745, allocations: 1.367 MB / 1.285 GB, free: 200.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002319/1.747, allocations: 1.265 MB / 1.286 GB, free: 200.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/1.747, allocations: 2.531 kB / 1.286 GB, free: 200.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01225/1.759, allocations: 4.438 MB / 1.291 GB, free: 199.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.22e-05/1.76, allocations: 8.625 kB / 1.291 GB, free: 199.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/1.76, allocations: 6.562 kB / 1.291 GB, free: 199.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01001/1.77, allocations: 2.084 MB / 1.293 GB, free: 199.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002408/1.772, allocations: 418.6 kB / 1.293 GB, free: 199.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02933/1.801, allocations: 21.75 MB / 1.314 GB, free: 184.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003663/1.805, allocations: 298.4 kB / 1.315 GB, free: 184.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005439/1.806, allocations: 68.94 kB / 1.315 GB, free: 184.4 MB / 0.8542 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 (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 17,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008153/1.807, allocations: 128.8 kB / 1.315 GB, free: 184.2 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01207/1.819, allocations: 4.225 MB / 1.319 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001154/1.82, allocations: 161 kB / 1.319 GB, free: 182.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01229/1.832, allocations: 4.515 MB / 1.323 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-05/1.832, allocations: 19.58 kB / 1.323 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.931e-05/1.832, allocations: 15.56 kB / 1.323 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.404e-05/1.832, allocations: 11.58 kB / 1.323 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0139/1.846, allocations: 6.569 MB / 1.33 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-05/1.846, allocations: 5 kB / 1.33 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001765/1.848, allocations: 357.7 kB / 1.33 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008355/1.856, allocations: 1.941 MB / 1.332 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004417/1.857, allocations: 22.75 kB / 1.332 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02441/1.881, allocations: 20.91 MB / 1.353 GB, free: 163.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.231e-05/1.881, allocations: 3.406 kB / 1.353 GB, free: 163.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01112/1.893, allocations: 4.305 MB / 1.357 GB, free: 161.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00141/1.894, allocations: 0.4943 MB / 1.357 GB, free: 161.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006662/1.895, allocations: 10.33 kB / 1.357 GB, free: 161.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002815/1.898, allocations: 304.2 kB / 1.358 GB, free: 161.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006434/1.898, allocations: 146.8 kB / 1.358 GB, free: 161.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002177/1.899, allocations: 55.58 kB / 1.358 GB, free: 161.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001087/1.9, allocations: 0.6027 MB / 1.358 GB, free: 161.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.462e-06/1.9, allocations: 7.906 kB / 1.358 GB, free: 161.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003594/1.903, allocations: 0.6301 MB / 1.359 GB, free: 161.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01048/1.914, allocations: 5.663 MB / 1.365 GB, free: 158.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007819/1.922, allocations: 4.184 MB / 1.369 GB, free: 156 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.347e-06/1.922, allocations: 3.156 kB / 1.369 GB, free: 156 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005181/1.927, allocations: 2.812 MB / 1.371 GB, free: 154.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003777/1.931, allocations: 435.7 kB / 1.372 GB, free: 154.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009623/1.94, allocations: 3.424 MB / 1.375 GB, free: 152.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001614/1.942, allocations: 1.603 MB / 1.377 GB, free: 152.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002162/1.944, allocations: 388 kB / 1.377 GB, free: 152 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001012/1.945, allocations: 0.6597 MB / 1.378 GB, free: 151.5 MB / 0.8542 GB Notification: Performance of SimCode: time 8.61e-07/1.945, allocations: 0 / 1.378 GB, free: 151.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1007/2.046, allocations: 54.35 MB / 1.431 GB, free: 109.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002434/2.046, allocations: 182.7 kB / 1.431 GB, free: 109.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.609/5.655, allocations: 3.719 kB / 1.431 GB, free: 109.3 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)