Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ACLine,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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 1.63/1.63, allocations: 287.4 MB / 302.6 MB, free: 8.332 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.0009302/0.0009301, allocations: 176.9 kB / 371.1 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 205.4 MB / 0.6298 GB, free: 10.56 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.0009588/0.0009589, allocations: 88.23 kB / 0.7431 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003648, allocations: 11.78 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1955, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01059/0.2061, allocations: 12.57 MB / 0.991 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.009647/0.2158, allocations: 8.829 MB / 0.9996 GB, free: 6.629 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001377/0.2172, allocations: 47.69 kB / 0.9997 GB, free: 6.582 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008263/0.2181, allocations: 269.8 kB / 0.9999 GB, free: 6.316 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003876/0.222, allocations: 1.277 MB / 1.001 GB, free: 5.039 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001542/0.2235, allocations: 0.5209 MB / 1.002 GB, free: 4.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002693/0.2262, allocations: 2.696 MB / 1.004 GB, free: 1.812 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003115/0.2294, allocations: 1.94 MB / 1.006 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001734/0.2311, allocations: 0.8442 MB / 1.007 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00169/0.2328, allocations: 1.02 MB / 1.008 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001923/0.233, allocations: 72 kB / 1.008 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001122/0.2341, allocations: 439.5 kB / 1.009 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004942/0.2346, allocations: 0.5062 MB / 1.009 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0004281/0.2351, allocations: 348.8 kB / 1.009 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001957/0.237, allocations: 2.119 MB / 1.011 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.2371, allocations: 0 / 1.011 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2371, allocations: 0 / 1.011 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.472e-05/0.2371, allocations: 0 / 1.011 GB, free: 10.47 MB / 0.6355 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.003229/0.2403, allocations: 1.82 MB / 1.013 GB, free: 8.598 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.2404, allocations: 8.031 kB / 1.013 GB, free: 8.59 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002318/0.2406, allocations: 194.4 kB / 1.013 GB, free: 8.391 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01064/0.2513, allocations: 2.148 MB / 1.015 GB, free: 6.234 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003066/0.2544, allocations: 1.197 MB / 1.017 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/0.2546, allocations: 86.73 kB / 1.017 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005617/0.2551, allocations: 123.9 kB / 1.017 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006479/0.2616, allocations: 2.698 MB / 1.019 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.199e-05/0.2617, allocations: 11.84 kB / 1.02 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002708/0.262, allocations: 51.98 kB / 1.02 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006382/0.2626, allocations: 186.1 kB / 1.02 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007827/0.2705, allocations: 2.838 MB / 1.023 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01555/0.2861, allocations: 10.57 MB / 1.033 GB, free: 3.688 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006587/0.2927, allocations: 2.567 MB / 1.035 GB, free: 1.059 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003027/0.2958, allocations: 1.296 MB / 1.037 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 6.743e-05/0.2959, allocations: 13 kB / 1.037 GB, free: 15.74 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.2959, allocations: 55.48 kB / 1.037 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=89): time 3.436e-06/0.2959, allocations: 0 / 1.037 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of matching and sorting (n=131): time 0.04254/0.3385, allocations: 13.44 MB / 1.05 GB, free: 2.027 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.479e-05/0.3386, allocations: 64.72 kB / 1.05 GB, free: 1.949 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001798/0.3404, allocations: 1.098 MB / 1.051 GB, free: 0.8359 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002747/0.3407, allocations: 53.7 kB / 1.051 GB, free: 0.7773 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005476/0.3413, allocations: 0.7194 MB / 1.052 GB, free: 52 kB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005243/0.3418, allocations: 449.6 kB / 1.052 GB, free: 15.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.3419, allocations: 28 kB / 1.052 GB, free: 15.57 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3421, allocations: 365.9 kB / 1.052 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003384/0.3455, allocations: 1.35 MB / 1.054 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003403/0.3489, allocations: 1.624 MB / 1.055 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00667/0.3556, allocations: 3.026 MB / 1.058 GB, free: 9.02 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.3556, allocations: 4 kB / 1.058 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01117/0.3668, allocations: 4.474 MB / 1.063 GB, free: 4.488 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.3669, allocations: 8 kB / 1.063 GB, free: 4.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.3669, allocations: 4 kB / 1.063 GB, free: 4.477 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00498/0.3719, allocations: 1.427 MB / 1.064 GB, free: 3.008 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002019/0.3739, allocations: 447.2 kB / 1.065 GB, free: 2.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4224/0.7963, allocations: 24.53 MB / 1.089 GB, free: 67.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002634/0.799, allocations: 313.1 kB / 1.089 GB, free: 67.49 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/0.7992, allocations: 62.8 kB / 1.089 GB, free: 67.48 MB / 0.6823 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 (99): * Single equations (assignments): 86 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008115/0.8, allocations: 435.3 kB / 1.089 GB, free: 67.21 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002556/0.8003, allocations: 163.3 kB / 1.089 GB, free: 67.21 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01172/0.812, allocations: 4.486 MB / 1.094 GB, free: 65.77 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/0.812, allocations: 14.23 kB / 1.094 GB, free: 65.77 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.297e-05/0.8121, allocations: 12.31 kB / 1.094 GB, free: 65.77 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.8121, allocations: 7.734 kB / 1.094 GB, free: 65.77 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01626/0.8283, allocations: 6.808 MB / 1.1 GB, free: 63.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/0.8284, allocations: 2.938 kB / 1.1 GB, free: 63.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001843/0.8302, allocations: 390 kB / 1.101 GB, free: 63.24 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004598/0.8349, allocations: 1.311 MB / 1.102 GB, free: 62.87 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001494/0.835, allocations: 42.98 kB / 1.102 GB, free: 62.85 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01814/0.8532, allocations: 23.51 MB / 1.125 GB, free: 42.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.8532, allocations: 5.641 kB / 1.125 GB, free: 42.96 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01012/0.8633, allocations: 4.237 MB / 1.129 GB, free: 41.15 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009755/0.8644, allocations: 458.5 kB / 1.13 GB, free: 40.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002288/0.8646, allocations: 27.67 kB / 1.13 GB, free: 40.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001917/0.8665, allocations: 315.2 kB / 1.13 GB, free: 40.64 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004451/0.867, allocations: 126.5 kB / 1.13 GB, free: 40.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/0.8671, allocations: 52.09 kB / 1.13 GB, free: 40.55 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001016/0.8681, allocations: 0.7386 MB / 1.131 GB, free: 40.14 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8681, allocations: 0 / 1.131 GB, free: 40.14 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002343/0.8705, allocations: 0.5748 MB / 1.132 GB, free: 40.08 MB / 0.6823 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 (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(2,100.0%) 4,(3,100.0%) 9,(2,100.0%) 4,(3,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01011/0.8806, allocations: 4.815 MB / 1.136 GB, free: 37.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01058/0.8912, allocations: 5.151 MB / 1.141 GB, free: 33.71 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/0.8913, allocations: 1 kB / 1.141 GB, free: 33.71 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.006626/0.8979, allocations: 3.496 MB / 1.145 GB, free: 31.16 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003119/0.9011, allocations: 0.502 MB / 1.145 GB, free: 30.92 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02751/0.9286, allocations: 14.4 MB / 1.159 GB, free: 18.44 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/0.9297, allocations: 1.48 MB / 1.161 GB, free: 16.93 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001771/0.9315, allocations: 425.6 kB / 1.161 GB, free: 16.51 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007978/0.9323, allocations: 0.6281 MB / 1.162 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of SimCode: time 6.51e-07/0.9324, allocations: 0 / 1.162 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3566/1.289, allocations: 49.71 MB / 1.21 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002158/1.289, allocations: 226.5 kB / 1.21 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.589/4.878, allocations: 0 / 1.21 GB, free: 14.47 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)