Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",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.629/2.629, allocations: 287.3 MB / 302.3 MB, free: 8.266 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.001506/0.001507, allocations: 172.9 kB / 370.8 MB, free: 10.88 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.279/2.279, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.00122/0.001219, allocations: 89.67 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004709/0.000471, allocations: 10.5 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2214, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.016/1.237, allocations: 162.2 MB / 1.137 GB, free: 14.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004093/1.238, allocations: 102.4 kB / 1.137 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.3825/1.62, allocations: 86.74 MB / 1.221 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.815e-06/1.62, allocations: 0 / 1.221 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001713/1.62, allocations: 43.98 kB / 1.222 GB, free: 10.28 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.006287/1.627, allocations: 1.68 MB / 1.223 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/1.627, allocations: 8.031 kB / 1.223 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008199/1.628, allocations: 215.2 kB / 1.223 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01129/1.639, allocations: 0.63 MB / 1.224 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003958/1.643, allocations: 0.8842 MB / 1.225 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001732/1.643, allocations: 98.52 kB / 1.225 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005763/1.644, allocations: 127.9 kB / 1.225 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008589/1.652, allocations: 2.33 MB / 1.227 GB, free: 3.902 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001126/1.653, allocations: 7.938 kB / 1.227 GB, free: 3.895 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004115/1.653, allocations: 67.91 kB / 1.227 GB, free: 3.828 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004932/1.654, allocations: 142.3 kB / 1.228 GB, free: 3.688 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0082/1.662, allocations: 1.859 MB / 1.229 GB, free: 1.82 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03001/1.692, allocations: 12.49 MB / 1.242 GB, free: 4.379 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01028/1.702, allocations: 1.878 MB / 1.243 GB, free: 2.48 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004287/1.703, allocations: 98.08 kB / 1.244 GB, free: 2.367 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.829e-05/1.703, allocations: 43.56 kB / 1.244 GB, free: 2.316 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=103): time 9.488e-06/1.703, allocations: 0 / 1.244 GB, free: 2.316 MB / 0.7605 GB Notification: Performance of matching and sorting (n=110): time 0.01204/1.715, allocations: 3.702 MB / 1.247 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.335e-05/1.715, allocations: 68.41 kB / 1.247 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00176/1.717, allocations: 0.7938 MB / 1.248 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001827/1.717, allocations: 45.7 kB / 1.248 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007606/1.718, allocations: 0.7084 MB / 1.249 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005226/1.718, allocations: 382.5 kB / 1.249 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/1.718, allocations: 32 kB / 1.249 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002029/1.719, allocations: 357.9 kB / 1.249 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001642/1.72, allocations: 0.605 MB / 1.25 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002076/1.722, allocations: 1.04 MB / 1.251 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002051/1.724, allocations: 0.7563 MB / 1.252 GB, free: 9.434 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.168e-05/1.724, allocations: 4 kB / 1.252 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.006093/1.731, allocations: 2.037 MB / 1.254 GB, free: 7.359 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.218e-05/1.731, allocations: 12 kB / 1.254 GB, free: 7.348 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.762e-05/1.731, allocations: 12 kB / 1.254 GB, free: 7.336 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00139/1.732, allocations: 259.3 kB / 1.254 GB, free: 7.059 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002733/1.735, allocations: 351.4 kB / 1.254 GB, free: 6.715 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01279/1.748, allocations: 10.83 MB / 1.265 GB, free: 10.82 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002224/1.75, allocations: 119.8 kB / 1.265 GB, free: 10.71 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002319/1.75, allocations: 63.98 kB / 1.265 GB, free: 10.64 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (179): * Single equations (assignments): 171 * 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 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001134/1.751, allocations: 406.6 kB / 1.266 GB, free: 10.24 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003547/1.752, allocations: 126.5 kB / 1.266 GB, free: 10.11 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005302/1.757, allocations: 1.681 MB / 1.267 GB, free: 8.402 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.095e-05/1.757, allocations: 12 kB / 1.267 GB, free: 8.391 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/1.757, allocations: 4 kB / 1.267 GB, free: 8.387 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-05/1.757, allocations: 7.938 kB / 1.267 GB, free: 8.379 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009734/1.767, allocations: 3.288 MB / 1.271 GB, free: 4.941 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.418e-05/1.767, allocations: 4 kB / 1.271 GB, free: 4.938 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001804/1.769, allocations: 227.6 kB / 1.271 GB, free: 4.715 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001327/1.77, allocations: 242.7 kB / 1.271 GB, free: 4.453 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001848/1.77, allocations: 28 kB / 1.271 GB, free: 4.426 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01266/1.783, allocations: 10.81 MB / 1.282 GB, free: 8.555 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-05/1.783, allocations: 7.938 kB / 1.282 GB, free: 8.547 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005359/1.788, allocations: 2.072 MB / 1.284 GB, free: 6.258 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001089/1.79, allocations: 323.2 kB / 1.284 GB, free: 5.922 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002842/1.79, allocations: 31.98 kB / 1.284 GB, free: 5.891 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001344/1.791, allocations: 91.88 kB / 1.284 GB, free: 5.801 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003049/1.792, allocations: 96.72 kB / 1.284 GB, free: 5.707 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/1.792, allocations: 32 kB / 1.284 GB, free: 5.676 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.00135/1.793, allocations: 0.6099 MB / 1.285 GB, free: 5.059 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.51e-07/1.793, allocations: 0 / 1.285 GB, free: 5.059 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.002312/1.795, allocations: 404 kB / 1.285 GB, free: 4.664 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * 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 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00656/1.802, allocations: 4.156 MB / 1.289 GB, free: 312 kB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.006195/1.808, allocations: 2.465 MB / 1.292 GB, free: 13.74 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/1.808, allocations: 0 / 1.292 GB, free: 13.74 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.003873/1.812, allocations: 1.618 MB / 1.293 GB, free: 12.02 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002671/1.815, allocations: 315.5 kB / 1.293 GB, free: 11.71 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02674/1.842, allocations: 17.81 MB / 1.311 GB, free: 9.234 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001612/1.843, allocations: 1.368 MB / 1.312 GB, free: 7.836 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.002047/1.845, allocations: 359 kB / 1.313 GB, free: 7.484 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001432/1.847, allocations: 0.5266 MB / 1.313 GB, free: 6.957 MB / 0.8386 GB Notification: Performance of SimCode: time 1.322e-06/1.847, allocations: 3.938 kB / 1.313 GB, free: 6.953 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.089/1.936, allocations: 26.8 MB / 1.339 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003625/1.936, allocations: 224.9 kB / 1.339 GB, free: 12.29 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.577/5.514, allocations: 0 / 1.339 GB, free: 12.29 MB / 0.8698 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)