Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009371/0.0009372, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009181/0.0009182, allocations: 194.8 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.224/1.224, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.575/1.575, allocations: 292.3 MB / 0.5486 GB, free: 13.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 67.83 kB / 0.6711 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1657, allocations: 114.6 MB / 0.783 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01424/0.1799, allocations: 14.57 MB / 0.7972 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01283/0.1928, allocations: 10.34 MB / 0.8073 GB, free: 4.785 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001468/0.1943, allocations: 51.62 kB / 0.8074 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0036/0.198, allocations: 1.575 MB / 0.8089 GB, free: 3.156 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003834/0.2018, allocations: 1.627 MB / 0.8105 GB, free: 1.527 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001513/0.2033, allocations: 0.6934 MB / 0.8112 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002718/0.2061, allocations: 2.758 MB / 0.8139 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001722/0.2078, allocations: 1.594 MB / 0.8154 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001605/0.2094, allocations: 1.523 MB / 0.8169 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001184/0.2106, allocations: 1.195 MB / 0.8181 GB, free: 9.715 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001922/0.2108, allocations: 164 kB / 0.8182 GB, free: 9.555 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.212, allocations: 0.7799 MB / 0.819 GB, free: 8.773 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004683/0.2124, allocations: 0.6076 MB / 0.8196 GB, free: 8.164 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007429/0.2132, allocations: 0.9562 MB / 0.8205 GB, free: 7.203 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002223/0.2154, allocations: 2.788 MB / 0.8232 GB, free: 4.406 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2154, allocations: 7.938 kB / 0.8232 GB, free: 4.398 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2154, allocations: 0 / 0.8232 GB, free: 4.398 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.285e-05/0.2155, allocations: 0 / 0.8232 GB, free: 4.398 MB / 0.6387 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.003188/0.2187, allocations: 2.17 MB / 0.8254 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.2187, allocations: 8.031 kB / 0.8254 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002211/0.2189, allocations: 198.3 kB / 0.8256 GB, free: 1.961 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01051/0.2294, allocations: 2.097 MB / 0.8276 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001895/0.2314, allocations: 1.217 MB / 0.8288 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.614e-05/0.2314, allocations: 90.67 kB / 0.8289 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002111/0.2316, allocations: 123.8 kB / 0.829 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004944/0.2366, allocations: 2.674 MB / 0.8316 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.385e-05/0.2366, allocations: 7.938 kB / 0.8316 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001571/0.2368, allocations: 55.97 kB / 0.8317 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005523/0.2374, allocations: 194.1 kB / 0.8319 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006581/0.2439, allocations: 2.791 MB / 0.8346 GB, free: 8.496 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01267/0.2566, allocations: 10.51 MB / 0.8448 GB, free: 13.41 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005858/0.2625, allocations: 2.34 MB / 0.8471 GB, free: 11.04 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002745/0.2653, allocations: 1.274 MB / 0.8484 GB, free: 9.762 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 7.396e-05/0.2654, allocations: 9 kB / 0.8484 GB, free: 9.754 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.2654, allocations: 47.5 kB / 0.8484 GB, free: 9.699 MB / 0.67 GB Notification: Performance of pre-optimization done (n=89): time 2.354e-06/0.2654, allocations: 0 / 0.8484 GB, free: 9.699 MB / 0.67 GB Notification: Performance of matching and sorting (n=153): time 0.05265/0.3181, allocations: 16.48 MB / 0.8645 GB, free: 9.055 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.3181, allocations: 68.72 kB / 0.8646 GB, free: 8.973 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001373/0.3195, allocations: 1.18 MB / 0.8657 GB, free: 7.781 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001465/0.3197, allocations: 49.64 kB / 0.8658 GB, free: 7.727 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004737/0.3201, allocations: 0.7475 MB / 0.8665 GB, free: 6.973 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004182/0.3206, allocations: 0.516 MB / 0.867 GB, free: 6.449 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005217/0.3211, allocations: 287.4 kB / 0.8673 GB, free: 6.164 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.429e-05/0.3212, allocations: 305.1 kB / 0.8676 GB, free: 5.863 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003155/0.3244, allocations: 1.507 MB / 0.8691 GB, free: 4.355 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003276/0.3276, allocations: 1.784 MB / 0.8708 GB, free: 2.477 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006504/0.3342, allocations: 3.365 MB / 0.8741 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.3342, allocations: 4 kB / 0.8741 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01222/0.3464, allocations: 5.277 MB / 0.8792 GB, free: 9.695 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.3464, allocations: 8 kB / 0.8792 GB, free: 9.688 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.3465, allocations: 8 kB / 0.8793 GB, free: 9.68 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006377/0.3529, allocations: 1.894 MB / 0.8811 GB, free: 7.762 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001786/0.3547, allocations: 411.3 kB / 0.8815 GB, free: 7.359 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02676/0.3814, allocations: 24.15 MB / 0.9051 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002335/0.3838, allocations: 307.7 kB / 0.9054 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001537/0.384, allocations: 67.91 kB / 0.9054 GB, free: 13.72 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007809/0.3847, allocations: 465.6 kB / 0.9059 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002871/0.385, allocations: 177.9 kB / 0.9061 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01233/0.3974, allocations: 5.32 MB / 0.9112 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.118e-05/0.3974, allocations: 16 kB / 0.9113 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.656e-05/0.3974, allocations: 16 kB / 0.9113 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/0.3975, allocations: 7.969 kB / 0.9113 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01486/0.4123, allocations: 7.433 MB / 0.9185 GB, free: 124 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.4124, allocations: 3.938 kB / 0.9185 GB, free: 120 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2772/0.6896, allocations: 351.1 kB / 0.9189 GB, free: 128.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005629/0.6952, allocations: 1.72 MB / 0.9206 GB, free: 128.4 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001476/0.6954, allocations: 48.7 kB / 0.9206 GB, free: 128.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02095/0.7163, allocations: 23.31 MB / 0.9434 GB, free: 114.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.7163, allocations: 3.406 kB / 0.9434 GB, free: 114.4 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01128/0.7276, allocations: 4.891 MB / 0.9481 GB, free: 112.8 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007148/0.7284, allocations: 499.7 kB / 0.9486 GB, free: 112.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003512/0.7287, allocations: 31.89 kB / 0.9487 GB, free: 112.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001893/0.7306, allocations: 318.8 kB / 0.949 GB, free: 112.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003533/0.731, allocations: 143 kB / 0.9491 GB, free: 112.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001298/0.7311, allocations: 59.41 kB / 0.9492 GB, free: 112.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009476/0.7321, allocations: 0.794 MB / 0.9499 GB, free: 112.1 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7321, allocations: 2.625 kB / 0.9499 GB, free: 112.1 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001693/0.7338, allocations: 0.6552 MB / 0.9506 GB, free: 112 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009914/0.7437, allocations: 5.471 MB / 0.9559 GB, free: 109.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009243/0.7529, allocations: 5.426 MB / 0.9612 GB, free: 107.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.753, allocations: 1.375 kB / 0.9612 GB, free: 107.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005189/0.7581, allocations: 3.356 MB / 0.9645 GB, free: 105.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001914/0.7601, allocations: 0.5652 MB / 0.965 GB, free: 105.6 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03376/0.7938, allocations: 23.62 MB / 0.9881 GB, free: 86.78 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007079/0.7946, allocations: 1.567 MB / 0.9896 GB, free: 85.18 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001247/0.7958, allocations: 386.2 kB / 0.99 GB, free: 84.81 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006084/0.7964, allocations: 0.6593 MB / 0.9907 GB, free: 84.15 MB / 0.7325 GB Notification: Performance of SimCode: time 5.11e-07/0.7964, allocations: 0 / 0.9907 GB, free: 84.15 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.655/7.452, allocations: 58.45 MB / 1.048 GB, free: 26.46 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002329/7.452, allocations: 252.5 kB / 1.048 GB, free: 26.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.174/10.63, allocations: 0 / 1.048 GB, free: 26.2 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)