Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.389/2.389, allocations: 289.7 MB / 302.2 MB, free: 2.133 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.001469/0.001469, allocations: 180.2 kB / 371.6 MB, free: 3.371 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.731/1.731, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000954/0.0009542, allocations: 93.53 kB / 0.745 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.682e-05/3.693e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2403, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7667/1.007, allocations: 164.5 MB / 1.141 GB, free: 26.3 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000218/1.007, allocations: 93.8 kB / 1.141 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.08155/1.089, allocations: 36.89 MB / 1.177 GB, free: 2.73 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.653e-06/1.089, allocations: 0 / 1.177 GB, free: 2.73 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.625e-05/1.089, allocations: 31.98 kB / 1.177 GB, free: 2.699 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001787/1.091, allocations: 0.9566 MB / 1.178 GB, free: 1.75 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/1.091, allocations: 8.031 kB / 1.178 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001888/1.091, allocations: 122.9 kB / 1.178 GB, free: 1.656 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001619/1.093, allocations: 242.6 kB / 1.178 GB, free: 1.418 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008352/1.094, allocations: 0.5349 MB / 1.179 GB, free: 0.9062 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.102e-05/1.094, allocations: 55.81 kB / 1.179 GB, free: 0.875 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/1.094, allocations: 72.22 kB / 1.179 GB, free: 0.8242 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/1.095, allocations: 1.116 MB / 1.18 GB, free: 15.83 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.895e-05/1.095, allocations: 7.938 kB / 1.18 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.868e-05/1.095, allocations: 35.56 kB / 1.18 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.456e-05/1.095, allocations: 48.67 kB / 1.18 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/1.096, allocations: 0.7359 MB / 1.181 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005263/1.102, allocations: 5.918 MB / 1.186 GB, free: 9.508 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009043/1.103, allocations: 0.5549 MB / 1.187 GB, free: 9.121 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004021/1.103, allocations: 320.8 kB / 1.187 GB, free: 8.926 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.661e-05/1.103, allocations: 4.438 kB / 1.187 GB, free: 8.922 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/1.103, allocations: 40.88 kB / 1.187 GB, free: 8.879 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=47): time 2.144e-06/1.103, allocations: 0 / 1.187 GB, free: 8.879 MB / 0.7605 GB Notification: Performance of matching and sorting (n=48): time 0.00214/1.105, allocations: 1.227 MB / 1.188 GB, free: 7.93 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/1.105, allocations: 63.83 kB / 1.188 GB, free: 7.855 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005656/1.106, allocations: 494.1 kB / 1.189 GB, free: 7.469 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.461e-05/1.106, allocations: 31.89 kB / 1.189 GB, free: 7.438 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000275/1.106, allocations: 405.2 kB / 1.189 GB, free: 7.141 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.000154/1.106, allocations: 177.9 kB / 1.19 GB, free: 6.988 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/1.107, allocations: 15.81 kB / 1.19 GB, free: 6.98 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001924/1.107, allocations: 371.7 kB / 1.19 GB, free: 6.637 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003887/1.107, allocations: 265.2 kB / 1.19 GB, free: 6.473 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000571/1.108, allocations: 462.7 kB / 1.191 GB, free: 6.047 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004877/1.108, allocations: 330.5 kB / 1.191 GB, free: 5.824 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/1.108, allocations: 0 / 1.191 GB, free: 5.824 MB / 0.7605 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001661/1.11, allocations: 1.041 MB / 1.192 GB, free: 5.02 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/1.11, allocations: 8.75 kB / 1.192 GB, free: 5.012 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/1.11, allocations: 8 kB / 1.192 GB, free: 5.004 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000794/1.111, allocations: 278 kB / 1.192 GB, free: 4.77 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004544/1.111, allocations: 114.8 kB / 1.192 GB, free: 4.66 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005933/1.117, allocations: 6.596 MB / 1.199 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005766/1.118, allocations: 34.84 kB / 1.199 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.986e-05/1.118, allocations: 31.3 kB / 1.199 GB, free: 14.13 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001582/1.118, allocations: 148.5 kB / 1.199 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/1.118, allocations: 71.16 kB / 1.199 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001527/1.12, allocations: 0.8717 MB / 1.2 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/1.12, allocations: 7.984 kB / 1.2 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/1.12, allocations: 4 kB / 1.2 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/1.12, allocations: 4 kB / 1.2 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002512/1.122, allocations: 1.708 MB / 1.202 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/1.122, allocations: 4 kB / 1.202 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/1.122, allocations: 63.14 kB / 1.202 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007104/1.123, allocations: 266.9 kB / 1.202 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.585e-05/1.123, allocations: 10.94 kB / 1.202 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0057/1.129, allocations: 6.567 MB / 1.208 GB, free: 5.172 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/1.129, allocations: 0.8594 kB / 1.208 GB, free: 5.172 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/1.131, allocations: 1.042 MB / 1.209 GB, free: 4.27 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003344/1.131, allocations: 197.5 kB / 1.209 GB, free: 4.078 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.417e-05/1.131, allocations: 14.19 kB / 1.21 GB, free: 4.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003705/1.131, allocations: 26.78 kB / 1.21 GB, free: 4.051 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/1.131, allocations: 49.83 kB / 1.21 GB, free: 4.008 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.342e-05/1.132, allocations: 15.44 kB / 1.21 GB, free: 3.996 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004869/1.132, allocations: 386.2 kB / 1.21 GB, free: 3.711 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.1e-07/1.132, allocations: 0 / 1.21 GB, free: 3.711 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000902/1.133, allocations: 233.9 kB / 1.21 GB, free: 3.504 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001929/1.135, allocations: 2.024 MB / 1.212 GB, free: 1.629 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001899/1.137, allocations: 1.236 MB / 1.213 GB, free: 0.582 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/1.137, allocations: 4 kB / 1.213 GB, free: 0.5781 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001201/1.138, allocations: 0.8811 MB / 1.214 GB, free: 15.77 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008601/1.139, allocations: 197.3 kB / 1.214 GB, free: 15.63 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/1.141, allocations: 1.144 MB / 1.216 GB, free: 14.57 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005919/1.142, allocations: 1.029 MB / 1.217 GB, free: 13.54 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0004118/1.142, allocations: 119.6 kB / 1.217 GB, free: 13.42 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002772/1.142, allocations: 253.3 kB / 1.217 GB, free: 13.36 MB / 0.7917 GB Notification: Performance of SimCode: time 5.41e-07/1.142, allocations: 7.938 kB / 1.217 GB, free: 13.35 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0329/1.175, allocations: 16.33 MB / 1.233 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001652/1.175, allocations: 195.4 kB / 1.233 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.453/3.629, allocations: 0 / 1.233 GB, free: 13.05 MB / 0.8073 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)