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.001257/0.001257, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 193 kB / 16.53 MB, free: 6.391 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.436/1.436, allocations: 205.1 MB / 222.4 MB, free: 4.574 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.747/1.747, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001381/0.001381, allocations: 67.56 kB / 0.6716 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2244, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01642/0.2409, allocations: 14.66 MB / 0.7978 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01453/0.2555, allocations: 10.43 MB / 0.808 GB, free: 4.195 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00148/0.257, allocations: 59.62 kB / 0.808 GB, free: 4.137 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004346/0.2614, allocations: 1.695 MB / 0.8097 GB, free: 2.438 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006317/0.2677, allocations: 1.808 MB / 0.8115 GB, free: 0.6289 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002239/0.27, allocations: 0.756 MB / 0.8122 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004527/0.2745, allocations: 2.75 MB / 0.8149 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001895/0.2765, allocations: 1.415 MB / 0.8163 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002351/0.2788, allocations: 1.504 MB / 0.8177 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001688/0.2805, allocations: 1.16 MB / 0.8189 GB, free: 8.996 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002915/0.2808, allocations: 160 kB / 0.819 GB, free: 8.84 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001609/0.2824, allocations: 0.7877 MB / 0.8198 GB, free: 8.051 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005616/0.283, allocations: 0.6037 MB / 0.8204 GB, free: 7.445 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009903/0.284, allocations: 0.9561 MB / 0.8213 GB, free: 6.484 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00277/0.2868, allocations: 2.737 MB / 0.824 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.2868, allocations: 0 / 0.824 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.625e-06/0.2868, allocations: 3.938 kB / 0.824 GB, free: 3.734 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.169e-05/0.2869, allocations: 3.938 kB / 0.824 GB, free: 3.73 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.003759/0.2906, allocations: 2.178 MB / 0.8261 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.2907, allocations: 8.031 kB / 0.8261 GB, free: 1.488 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002191/0.2909, allocations: 194.4 kB / 0.8263 GB, free: 1.289 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01155/0.3025, allocations: 2.101 MB / 0.8284 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002939/0.3054, allocations: 1.21 MB / 0.8295 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.547e-05/0.3055, allocations: 90.62 kB / 0.8296 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002352/0.3058, allocations: 123.8 kB / 0.8297 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005619/0.3114, allocations: 2.674 MB / 0.8324 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.865e-05/0.3115, allocations: 7.938 kB / 0.8324 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001685/0.3116, allocations: 51.98 kB / 0.8324 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006939/0.3123, allocations: 190.1 kB / 0.8326 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007715/0.3201, allocations: 2.799 MB / 0.8353 GB, free: 7.828 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01447/0.3346, allocations: 10.51 MB / 0.8456 GB, free: 12.73 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006621/0.3412, allocations: 2.344 MB / 0.8479 GB, free: 10.36 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003132/0.3444, allocations: 1.268 MB / 0.8491 GB, free: 9.094 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 6.576e-05/0.3445, allocations: 17 kB / 0.8491 GB, free: 9.078 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.3445, allocations: 39.56 kB / 0.8492 GB, free: 9.031 MB / 0.67 GB Notification: Performance of pre-optimization done (n=89): time 4.538e-06/0.3445, allocations: 0 / 0.8492 GB, free: 9.031 MB / 0.67 GB Notification: Performance of matching and sorting (n=153): time 0.06391/0.4084, allocations: 16.48 MB / 0.8653 GB, free: 8.391 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.4085, allocations: 64.72 kB / 0.8653 GB, free: 8.312 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/0.4101, allocations: 1.176 MB / 0.8665 GB, free: 7.125 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002478/0.4103, allocations: 49.7 kB / 0.8665 GB, free: 7.07 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005118/0.4109, allocations: 0.7436 MB / 0.8673 GB, free: 6.32 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005415/0.4114, allocations: 0.5159 MB / 0.8678 GB, free: 5.797 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005806/0.412, allocations: 299.3 kB / 0.868 GB, free: 5.5 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.273e-05/0.4121, allocations: 305.1 kB / 0.8683 GB, free: 5.199 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003624/0.4157, allocations: 1.507 MB / 0.8698 GB, free: 3.691 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003793/0.4195, allocations: 1.78 MB / 0.8715 GB, free: 1.816 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007563/0.4271, allocations: 3.369 MB / 0.8748 GB, free: 14.35 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.4272, allocations: 0 / 0.8748 GB, free: 14.35 MB / 0.7012 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01369/0.4409, allocations: 5.276 MB / 0.88 GB, free: 9.035 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.4409, allocations: 8 kB / 0.88 GB, free: 9.027 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.4409, allocations: 11.98 kB / 0.88 GB, free: 9.016 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006899/0.4478, allocations: 1.891 MB / 0.8819 GB, free: 7.102 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002047/0.4499, allocations: 415.3 kB / 0.8822 GB, free: 6.695 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03022/0.4802, allocations: 24.16 MB / 0.9058 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002826/0.483, allocations: 303.5 kB / 0.9061 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002983/0.4833, allocations: 71.97 kB / 0.9062 GB, free: 13.06 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.0009621/0.4843, allocations: 459.9 kB / 0.9066 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004592/0.4848, allocations: 173.9 kB / 0.9068 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01356/0.4984, allocations: 5.327 MB / 0.912 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.4984, allocations: 12 kB / 0.912 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.135e-05/0.4984, allocations: 24 kB / 0.912 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-05/0.4985, allocations: 7.969 kB / 0.912 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4395/0.938, allocations: 7.423 MB / 0.9193 GB, free: 126.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.229e-05/0.9381, allocations: 6.922 kB / 0.9193 GB, free: 126.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003238/0.9413, allocations: 353.8 kB / 0.9196 GB, free: 126.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01128/0.9526, allocations: 1.719 MB / 0.9213 GB, free: 126.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003662/0.9531, allocations: 41.12 kB / 0.9214 GB, free: 126.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03773/0.9908, allocations: 23.32 MB / 0.9441 GB, free: 112.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.355e-06/0.9909, allocations: 7.375 kB / 0.9441 GB, free: 112.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01493/1.006, allocations: 4.886 MB / 0.9489 GB, free: 110.9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008027/1.007, allocations: 491.7 kB / 0.9494 GB, free: 110.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002413/1.007, allocations: 35.75 kB / 0.9494 GB, free: 110.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001962/1.009, allocations: 321.6 kB / 0.9497 GB, free: 110.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004891/1.009, allocations: 147.9 kB / 0.9499 GB, free: 110.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/1.009, allocations: 58.44 kB / 0.9499 GB, free: 110.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008501/1.01, allocations: 0.7897 MB / 0.9507 GB, free: 110.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.31e-07/1.01, allocations: 0 / 0.9507 GB, free: 110.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001865/1.012, allocations: 0.6551 MB / 0.9513 GB, free: 110.2 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.01298/1.025, allocations: 5.475 MB / 0.9567 GB, free: 107.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01144/1.037, allocations: 5.421 MB / 0.962 GB, free: 105.6 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/1.037, allocations: 8.312 kB / 0.962 GB, free: 105.6 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006278/1.043, allocations: 3.348 MB / 0.9652 GB, free: 103.9 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002314/1.045, allocations: 0.5679 MB / 0.9658 GB, free: 103.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04513/1.09, allocations: 22.99 MB / 0.9882 GB, free: 86.52 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001846/1.092, allocations: 1.571 MB / 0.9898 GB, free: 84.91 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00288/1.095, allocations: 386.5 kB / 0.9902 GB, free: 84.54 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001311/1.097, allocations: 0.6554 MB / 0.9908 GB, free: 83.89 MB / 0.7325 GB Notification: Performance of SimCode: time 1.012e-06/1.097, allocations: 0 / 0.9908 GB, free: 83.89 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1004/1.197, allocations: 58.35 MB / 1.048 GB, free: 26.26 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/12.01, allocations: 18.53 kB / 1.048 GB, free: 26.25 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)