Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.561/2.561, allocations: 284.9 MB / 292.4 MB, free: 10.59 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.00149/0.001489, allocations: 192.8 kB / 360.6 MB, free: 7.289 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.083/2.083, allocations: 205.3 MB / 0.6191 GB, free: 12.21 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.001043/0.001043, allocations: 105.2 kB / 0.7321 GB, free: 44.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.164e-05/3.177e-05, allocations: 4 kB / 0.8509 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8067/0.8068, allocations: 115.3 MB / 0.9634 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3511/1.158, allocations: 208.7 MB / 1.167 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003814/1.158, allocations: 92.5 kB / 1.167 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.3516/1.51, allocations: 84.83 MB / 1.25 GB, free: 6.172 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.757e-06/1.51, allocations: 4 kB / 1.25 GB, free: 6.168 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002182/1.51, allocations: 47.86 kB / 1.25 GB, free: 6.121 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.006081/1.516, allocations: 1.622 MB / 1.252 GB, free: 4.449 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/1.517, allocations: 11.97 kB / 1.252 GB, free: 4.438 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02065/1.537, allocations: 1.96 MB / 1.254 GB, free: 2.473 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009438/1.547, allocations: 2.073 MB / 1.256 GB, free: 352 kB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.13e-05/1.547, allocations: 36 kB / 1.256 GB, free: 316 kB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007121/1.548, allocations: 68 kB / 1.256 GB, free: 248 kB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.6578/2.205, allocations: 1.647 MB / 1.257 GB, free: 207.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007489/2.213, allocations: 2.05 MB / 1.259 GB, free: 207.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.038e-05/2.213, allocations: 7.828 kB / 1.259 GB, free: 207.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000327/2.213, allocations: 6.578 kB / 1.259 GB, free: 207.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002149/2.214, allocations: 89.23 kB / 1.26 GB, free: 207.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02777/2.241, allocations: 10.44 MB / 1.27 GB, free: 202.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004064/2.246, allocations: 1.477 MB / 1.271 GB, free: 202 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002116/2.248, allocations: 0.8683 MB / 1.272 GB, free: 202 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001392/2.248, allocations: 13.7 kB / 1.272 GB, free: 202 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.399e-05/2.248, allocations: 47.89 kB / 1.272 GB, free: 202 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=89): time 4.709e-06/2.248, allocations: 0 / 1.272 GB, free: 202 MB / 0.8542 GB Notification: Performance of matching and sorting (n=153): time 0.03095/2.279, allocations: 6.892 MB / 1.279 GB, free: 201.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/2.279, allocations: 225.7 kB / 1.279 GB, free: 201.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001914/2.281, allocations: 0.8084 MB / 1.28 GB, free: 201 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004515/2.282, allocations: 27.3 kB / 1.28 GB, free: 201 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000695/2.282, allocations: 0.7463 MB / 1.281 GB, free: 200.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008237/2.283, allocations: 0.4957 MB / 1.281 GB, free: 200.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000215/2.283, allocations: 7.109 kB / 1.281 GB, free: 200.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001324/2.284, allocations: 363.8 kB / 1.281 GB, free: 200.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002542/2.286, allocations: 1.096 MB / 1.282 GB, free: 200.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002921/2.289, allocations: 1.367 MB / 1.284 GB, free: 199.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003424/2.292, allocations: 1.265 MB / 1.285 GB, free: 199.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.536e-05/2.293, allocations: 5.375 kB / 1.285 GB, free: 199.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01915/2.312, allocations: 4.436 MB / 1.289 GB, free: 199.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.648e-05/2.312, allocations: 7.875 kB / 1.289 GB, free: 199.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/2.312, allocations: 7.062 kB / 1.289 GB, free: 199.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01558/2.327, allocations: 2.08 MB / 1.291 GB, free: 199.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003931/2.331, allocations: 421.8 kB / 1.292 GB, free: 199.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04349/2.375, allocations: 21.75 MB / 1.313 GB, free: 184.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005104/2.38, allocations: 292.7 kB / 1.313 GB, free: 184.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005233/2.381, allocations: 72.69 kB / 1.313 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.0005692/2.381, allocations: 119.6 kB / 1.314 GB, free: 184.3 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01841/2.4, allocations: 4.226 MB / 1.318 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001154/2.401, allocations: 163.5 kB / 1.318 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02483/2.426, allocations: 4.52 MB / 1.322 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.909e-05/2.426, allocations: 15.12 kB / 1.322 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.391e-05/2.426, allocations: 22.78 kB / 1.322 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.307e-05/2.426, allocations: 7.688 kB / 1.322 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0233/2.449, allocations: 6.57 MB / 1.329 GB, free: 178.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.252e-05/2.449, allocations: 0 / 1.329 GB, free: 178.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003189/2.453, allocations: 372.6 kB / 1.329 GB, free: 178.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01333/2.466, allocations: 1.941 MB / 1.331 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004195/2.466, allocations: 18.77 kB / 1.331 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03786/2.504, allocations: 20.92 MB / 1.351 GB, free: 163.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/2.504, allocations: 0 / 1.351 GB, free: 163.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01541/2.52, allocations: 4.298 MB / 1.356 GB, free: 162 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001834/2.522, allocations: 0.4948 MB / 1.356 GB, free: 161.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005984/2.522, allocations: 7.625 kB / 1.356 GB, free: 161.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004392/2.527, allocations: 306 kB / 1.356 GB, free: 161.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007858/2.528, allocations: 152.2 kB / 1.357 GB, free: 161.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002554/2.528, allocations: 53.88 kB / 1.357 GB, free: 161.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001188/2.529, allocations: 0.6142 MB / 1.357 GB, free: 161.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.733e-06/2.529, allocations: 0 / 1.357 GB, free: 161.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003824/2.533, allocations: 0.6344 MB / 1.358 GB, free: 161.4 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.01618/2.549, allocations: 5.665 MB / 1.363 GB, free: 158.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01155/2.561, allocations: 4.173 MB / 1.367 GB, free: 156.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/2.561, allocations: 0 / 1.367 GB, free: 156.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.008006/2.569, allocations: 2.828 MB / 1.37 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.003697/2.573, allocations: 426.5 kB / 1.371 GB, free: 154.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/2.584, allocations: 3.435 MB / 1.374 GB, free: 153 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001523/2.585, allocations: 1.597 MB / 1.375 GB, free: 152.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003053/2.588, allocations: 389.9 kB / 1.376 GB, free: 152.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001513/2.59, allocations: 0.6694 MB / 1.376 GB, free: 151.6 MB / 0.8542 GB Notification: Performance of SimCode: time 1.503e-06/2.59, allocations: 0 / 1.376 GB, free: 151.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1438/2.734, allocations: 54.34 MB / 1.43 GB, free: 111 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002689/2.734, allocations: 167.7 kB / 1.43 GB, free: 110.9 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.569/7.303, allocations: 0 / 1.43 GB, free: 110.9 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)