Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.332/1.332, allocations: 251.5 MB / 266.7 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009073/0.0009073, allocations: 163.3 kB / 325.8 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.333/1.333, allocations: 205 MB / 0.576 GB, free: 20.94 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006765/0.0006765, allocations: 89.75 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000263/0.0002631, allocations: 11.22 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1472, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01352/0.1608, allocations: 14.24 MB / 0.9101 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.009874/0.1707, allocations: 10.46 MB / 0.9203 GB, free: 43.3 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009566/0.1717, allocations: 55.62 kB / 0.9204 GB, free: 43.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002965/0.1747, allocations: 1.56 MB / 0.9219 GB, free: 41.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00316/0.1778, allocations: 1.601 MB / 0.9235 GB, free: 40.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.179, allocations: 0.6917 MB / 0.9242 GB, free: 39.39 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002024/0.181, allocations: 3.409 MB / 0.9275 GB, free: 35.97 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.1822, allocations: 1.348 MB / 0.9288 GB, free: 34.59 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009514/0.1831, allocations: 1.336 MB / 0.9301 GB, free: 33.25 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007809/0.1839, allocations: 1.082 MB / 0.9312 GB, free: 32.16 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.184, allocations: 72 kB / 0.9312 GB, free: 32.09 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009359/0.185, allocations: 0.8578 MB / 0.9321 GB, free: 31.23 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000275/0.1853, allocations: 0.5021 MB / 0.9326 GB, free: 30.73 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004493/0.1857, allocations: 0.835 MB / 0.9334 GB, free: 29.89 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001425/0.1872, allocations: 2.678 MB / 0.936 GB, free: 27.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1872, allocations: 4 kB / 0.936 GB, free: 27.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1872, allocations: 0 / 0.936 GB, free: 27.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.574e-05/0.1872, allocations: 4 kB / 0.936 GB, free: 27.19 MB / 0.6042 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.002314/0.1895, allocations: 1.831 MB / 0.9378 GB, free: 25.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.1896, allocations: 16.02 kB / 0.9378 GB, free: 25.29 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001583/0.1897, allocations: 190.4 kB / 0.938 GB, free: 25.09 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00991/0.1996, allocations: 2.175 MB / 0.9401 GB, free: 22.91 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001706/0.2014, allocations: 1.21 MB / 0.9413 GB, free: 21.65 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.2014, allocations: 90.67 kB / 0.9414 GB, free: 21.56 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001652/0.2016, allocations: 119.9 kB / 0.9415 GB, free: 21.44 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004341/0.2059, allocations: 2.694 MB / 0.9441 GB, free: 18.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.192e-05/0.206, allocations: 15.84 kB / 0.9441 GB, free: 18.58 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001285/0.2061, allocations: 47.98 kB / 0.9442 GB, free: 18.54 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000482/0.2066, allocations: 198.1 kB / 0.9444 GB, free: 18.34 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006026/0.2126, allocations: 2.842 MB / 0.9471 GB, free: 15.49 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009889/0.2225, allocations: 10.57 MB / 0.9575 GB, free: 4.336 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005253/0.2278, allocations: 2.383 MB / 0.9598 GB, free: 1.922 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002493/0.2303, allocations: 1.3 MB / 0.9611 GB, free: 0.6172 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.245e-05/0.2304, allocations: 13 kB / 0.9611 GB, free: 0.6016 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.2304, allocations: 47.5 kB / 0.9611 GB, free: 0.5469 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=89): time 2.264e-06/0.2304, allocations: 0 / 0.9611 GB, free: 0.5469 MB / 0.6042 GB Notification: Performance of matching and sorting (n=153): time 0.05393/0.2843, allocations: 16.53 MB / 0.9773 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.2844, allocations: 64.72 kB / 0.9773 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001422/0.2858, allocations: 1.18 MB / 0.9785 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001399/0.286, allocations: 49.7 kB / 0.9785 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004969/0.2865, allocations: 0.7437 MB / 0.9793 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004307/0.2869, allocations: 0.512 MB / 0.9798 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000199/0.2871, allocations: 121.7 kB / 0.9799 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.695e-05/0.2872, allocations: 305.1 kB / 0.9802 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003135/0.2904, allocations: 1.534 MB / 0.9817 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003282/0.2937, allocations: 1.799 MB / 0.9834 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006476/0.3002, allocations: 3.416 MB / 0.9867 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.3002, allocations: 0 / 0.9867 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01238/0.3126, allocations: 5.316 MB / 0.9919 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.3126, allocations: 18.33 kB / 0.992 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.3127, allocations: 8 kB / 0.992 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006399/0.3191, allocations: 1.871 MB / 0.9938 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001778/0.3208, allocations: 431.2 kB / 0.9942 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02428/0.3451, allocations: 22.2 MB / 1.016 GB, free: 6.938 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002199/0.3474, allocations: 319.5 kB / 1.016 GB, free: 6.625 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001736/0.3475, allocations: 67.97 kB / 1.016 GB, free: 6.559 MB / 0.6667 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.0007457/0.3483, allocations: 457.5 kB / 1.017 GB, free: 6.102 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000305/0.3486, allocations: 177.8 kB / 1.017 GB, free: 5.926 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01232/0.3609, allocations: 5.367 MB / 1.022 GB, free: 0.5117 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.361, allocations: 12 kB / 1.022 GB, free: 0.5 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.069e-05/0.361, allocations: 20 kB / 1.022 GB, free: 492 kB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.361, allocations: 11.97 kB / 1.022 GB, free: 480 kB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01473/0.3758, allocations: 7.465 MB / 1.029 GB, free: 8.883 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.3758, allocations: 4 kB / 1.029 GB, free: 8.879 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001506/0.3773, allocations: 363.7 kB / 1.03 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005588/0.3829, allocations: 1.717 MB / 1.031 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/0.383, allocations: 40.06 kB / 1.031 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02318/0.4062, allocations: 21.38 MB / 1.052 GB, free: 304 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.4062, allocations: 7.938 kB / 1.052 GB, free: 296 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2988/0.705, allocations: 4.923 MB / 1.057 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008473/0.7059, allocations: 493.2 kB / 1.058 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002274/0.7061, allocations: 29.5 kB / 1.058 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001866/0.708, allocations: 328.7 kB / 1.058 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005098/0.7085, allocations: 150.6 kB / 1.058 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/0.7086, allocations: 58.55 kB / 1.058 GB, free: 142.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001027/0.7097, allocations: 0.7884 MB / 1.059 GB, free: 142.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7097, allocations: 0 / 1.059 GB, free: 142.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001884/0.7116, allocations: 0.6579 MB / 1.06 GB, free: 142.1 MB / 0.698 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.01222/0.7238, allocations: 5.518 MB / 1.065 GB, free: 141.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.009958/0.7338, allocations: 5.159 MB / 1.07 GB, free: 140.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.7338, allocations: 0 / 1.07 GB, free: 140.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.005911/0.7398, allocations: 3.372 MB / 1.073 GB, free: 139.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002598/0.7424, allocations: 0.5139 MB / 1.074 GB, free: 139.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03934/0.7817, allocations: 23.74 MB / 1.097 GB, free: 125.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008409/0.7826, allocations: 1.572 MB / 1.099 GB, free: 123.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00147/0.7841, allocations: 379.5 kB / 1.099 GB, free: 123.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006567/0.7847, allocations: 0.6554 MB / 1.1 GB, free: 122.9 MB / 0.698 GB Notification: Performance of SimCode: time 5.91e-07/0.7847, allocations: 0 / 1.1 GB, free: 122.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3661/1.151, allocations: 55.58 MB / 1.154 GB, free: 67.92 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001192/1.151, allocations: 256.3 kB / 1.154 GB, free: 67.64 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.694/4.845, allocations: 6.969 kB / 1.154 GB, free: 67.63 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)