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.699/1.699, allocations: 288.2 MB / 303.2 MB, free: 8.207 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.001108/0.001108, allocations: 177 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.025/2.025, allocations: 205.4 MB / 0.6305 GB, free: 9.977 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001083/0.001084, allocations: 87.42 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003808/0.0003808, allocations: 11.88 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2615, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7888/1.05, allocations: 209.6 MB / 1.184 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/1.051, allocations: 95.81 kB / 1.184 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.219/1.27, allocations: 85.72 MB / 1.268 GB, free: 10.64 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.515e-06/1.27, allocations: 0 / 1.268 GB, free: 10.64 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.000183/1.27, allocations: 47.92 kB / 1.268 GB, free: 10.6 MB / 0.7917 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.005072/1.275, allocations: 1.864 MB / 1.27 GB, free: 8.68 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/1.275, allocations: 8.031 kB / 1.27 GB, free: 8.672 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007046/1.276, allocations: 194.2 kB / 1.27 GB, free: 8.473 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01169/1.287, allocations: 1.975 MB / 1.272 GB, free: 6.492 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006489/1.294, allocations: 2.086 MB / 1.274 GB, free: 4.348 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.95e-05/1.294, allocations: 86.31 kB / 1.274 GB, free: 4.262 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000591/1.295, allocations: 108 kB / 1.274 GB, free: 4.156 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007077/1.302, allocations: 2.724 MB / 1.277 GB, free: 1.246 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-05/1.302, allocations: 11.84 kB / 1.277 GB, free: 1.234 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003876/1.302, allocations: 55.98 kB / 1.277 GB, free: 1.18 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001247/1.302, allocations: 94.27 kB / 1.277 GB, free: 1.086 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008034/1.31, allocations: 2.846 MB / 1.28 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01968/1.33, allocations: 10.73 MB / 1.29 GB, free: 2.922 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006825/1.337, allocations: 2.39 MB / 1.293 GB, free: 0.5039 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/1.337, allocations: 13 kB / 1.293 GB, free: 0.4922 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.356e-05/1.337, allocations: 43.56 kB / 1.293 GB, free: 452 kB / 0.8073 GB Notification: Performance of pre-optimization done (n=89): time 3.447e-06/1.337, allocations: 0 / 1.293 GB, free: 452 kB / 0.8073 GB Notification: Performance of matching and sorting (n=153): time 0.06402/1.401, allocations: 17.32 MB / 1.31 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/1.401, allocations: 238.9 kB / 1.31 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00209/1.403, allocations: 1.02 MB / 1.311 GB, free: 13.65 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0003201/1.404, allocations: 53.7 kB / 1.311 GB, free: 13.59 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006163/1.404, allocations: 0.7323 MB / 1.312 GB, free: 12.85 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.000667/1.405, allocations: 0.512 MB / 1.312 GB, free: 12.33 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001786/1.405, allocations: 32 kB / 1.312 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001846/1.405, allocations: 361.9 kB / 1.312 GB, free: 11.94 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003637/1.409, allocations: 1.546 MB / 1.314 GB, free: 10.39 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003866/1.413, allocations: 1.817 MB / 1.316 GB, free: 8.477 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004188/1.417, allocations: 1.669 MB / 1.317 GB, free: 6.805 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/1.417, allocations: 0 / 1.317 GB, free: 6.805 MB / 0.8386 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01559/1.433, allocations: 5.406 MB / 1.323 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.52e-05/1.433, allocations: 13.59 kB / 1.323 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.23e-05/1.433, allocations: 4 kB / 1.323 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009577/1.443, allocations: 2.134 MB / 1.325 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002086/1.445, allocations: 419.3 kB / 1.325 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03091/1.476, allocations: 23.3 MB / 1.348 GB, free: 6.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003153/1.479, allocations: 327.5 kB / 1.348 GB, free: 6.09 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004103/1.479, allocations: 67.95 kB / 1.348 GB, free: 6.023 MB / 0.8698 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 () * Number of clocked 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.001508/1.481, allocations: 470.1 kB / 1.349 GB, free: 5.555 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007301/1.482, allocations: 177.9 kB / 1.349 GB, free: 5.379 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01539/1.497, allocations: 5.465 MB / 1.354 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.297e-05/1.497, allocations: 16.19 kB / 1.354 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.8e-05/1.497, allocations: 20 kB / 1.354 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.788e-05/1.497, allocations: 11.95 kB / 1.354 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02111/1.518, allocations: 7.688 MB / 1.362 GB, free: 8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.621e-05/1.518, allocations: 4.344 kB / 1.362 GB, free: 7.996 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001667/1.52, allocations: 359.4 kB / 1.362 GB, free: 7.645 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01177/1.532, allocations: 2 MB / 1.364 GB, free: 5.625 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000409/1.532, allocations: 43.95 kB / 1.364 GB, free: 5.582 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04521/1.577, allocations: 22.48 MB / 1.386 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/1.578, allocations: 8.062 kB / 1.386 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02212/1.6, allocations: 5.234 MB / 1.391 GB, free: 8.641 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002298/1.602, allocations: 0.5069 MB / 1.392 GB, free: 8.113 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000708/1.603, allocations: 35.94 kB / 1.392 GB, free: 8.078 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003973/1.607, allocations: 339.4 kB / 1.392 GB, free: 7.746 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008493/1.608, allocations: 149 kB / 1.392 GB, free: 7.602 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002729/1.608, allocations: 59.89 kB / 1.392 GB, free: 7.543 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.002071/1.61, allocations: 0.7899 MB / 1.393 GB, free: 6.754 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.81e-07/1.61, allocations: 0 / 1.393 GB, free: 6.754 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.005183/1.615, allocations: 0.7264 MB / 1.394 GB, free: 6.027 MB / 0.9167 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 () * Number of clocked 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.02363/1.639, allocations: 6.62 MB / 1.4 GB, free: 15.27 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01945/1.658, allocations: 5.206 MB / 1.405 GB, free: 9.961 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.51e-05/1.659, allocations: 0 / 1.405 GB, free: 9.961 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.01248/1.671, allocations: 3.398 MB / 1.409 GB, free: 6.457 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005076/1.676, allocations: 0.5012 MB / 1.409 GB, free: 5.965 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0612/1.737, allocations: 20.3 MB / 1.429 GB, free: 0.957 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4812/2.219, allocations: 1.594 MB / 1.43 GB, free: 288.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002336/2.221, allocations: 404.5 kB / 1.431 GB, free: 288.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001504/2.223, allocations: 0.6699 MB / 1.432 GB, free: 288.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.743e-06/2.223, allocations: 0 / 1.432 GB, free: 288.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1204/2.343, allocations: 59.19 MB / 1.489 GB, free: 285.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001425/2.343, allocations: 239.7 kB / 1.49 GB, free: 285.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.675/6.018, allocations: 2.438 kB / 1.49 GB, free: 285.3 MB / 0.948 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)