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_R.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_R,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.582/2.582, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001485/0.001485, allocations: 180.8 kB / 360.6 MB, free: 7.316 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.217/2.217, allocations: 205.3 MB / 0.6191 GB, free: 12.21 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.001097/0.001097, allocations: 92.44 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.711e-05/2.705e-05, allocations: 4 kB / 0.8509 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8075/0.8075, allocations: 115.3 MB / 0.9634 GB, free: 78.76 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.277/1.085, allocations: 162.7 MB / 1.122 GB, free: 9.785 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003969/1.085, allocations: 95.72 kB / 1.122 GB, free: 9.695 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.1508/1.236, allocations: 36.75 MB / 1.158 GB, free: 4.738 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.014e-06/1.236, allocations: 0 / 1.158 GB, free: 4.738 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 7.44e-05/1.236, allocations: 23.98 kB / 1.158 GB, free: 4.715 MB / 0.7605 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.002708/1.239, allocations: 0.9628 MB / 1.159 GB, free: 3.703 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 6.033e-05/1.239, allocations: 12.03 kB / 1.159 GB, free: 3.691 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002587/1.241, allocations: 246.5 kB / 1.159 GB, free: 3.449 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00167/1.243, allocations: 0.5376 MB / 1.16 GB, free: 2.867 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.288e-05/1.243, allocations: 20 kB / 1.16 GB, free: 2.848 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/1.243, allocations: 45.48 kB / 1.16 GB, free: 2.805 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001735/1.245, allocations: 0.5975 MB / 1.161 GB, free: 2.207 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002222/1.247, allocations: 1.02 MB / 1.162 GB, free: 1.043 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.575e-05/1.247, allocations: 11.92 kB / 1.162 GB, free: 1.031 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/1.248, allocations: 4 kB / 1.162 GB, free: 1.027 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001233/1.248, allocations: 53.25 kB / 1.162 GB, free: 0.9766 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008705/1.256, allocations: 5.759 MB / 1.167 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001668/1.258, allocations: 0.5273 MB / 1.168 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007385/1.259, allocations: 314 kB / 1.168 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.221e-05/1.259, allocations: 4.438 kB / 1.168 GB, free: 9.945 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/1.259, allocations: 43 kB / 1.168 GB, free: 9.895 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=47): time 3.176e-06/1.259, allocations: 2.438 kB / 1.168 GB, free: 9.895 MB / 0.7761 GB Notification: Performance of matching and sorting (n=48): time 0.003651/1.263, allocations: 1.155 MB / 1.169 GB, free: 8.719 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/1.263, allocations: 55.84 kB / 1.169 GB, free: 8.652 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007597/1.264, allocations: 422 kB / 1.17 GB, free: 8.23 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.502e-05/1.264, allocations: 25.7 kB / 1.17 GB, free: 8.199 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003447/1.264, allocations: 402.8 kB / 1.17 GB, free: 7.801 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002043/1.264, allocations: 165.6 kB / 1.17 GB, free: 7.637 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.371e-05/1.264, allocations: 0 / 1.17 GB, free: 7.637 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001938/1.265, allocations: 366.8 kB / 1.171 GB, free: 7.27 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006378/1.265, allocations: 253.5 kB / 1.171 GB, free: 7.023 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007765/1.266, allocations: 442.6 kB / 1.171 GB, free: 6.508 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007863/1.267, allocations: 317.9 kB / 1.172 GB, free: 6.199 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/1.267, allocations: 3.938 kB / 1.172 GB, free: 6.195 MB / 0.7761 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002891/1.27, allocations: 0.9617 MB / 1.173 GB, free: 5.215 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/1.27, allocations: 9.844 kB / 1.173 GB, free: 5.207 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/1.27, allocations: 4 kB / 1.173 GB, free: 5.203 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001415/1.271, allocations: 269 kB / 1.173 GB, free: 4.93 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009745/1.272, allocations: 119.8 kB / 1.173 GB, free: 4.812 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01232/1.285, allocations: 6.326 MB / 1.179 GB, free: 14.04 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/1.286, allocations: 27.95 kB / 1.179 GB, free: 14.01 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001685/1.286, allocations: 28 kB / 1.179 GB, free: 13.98 MB / 0.7917 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.0003273/1.287, allocations: 131.2 kB / 1.179 GB, free: 13.85 MB / 0.7917 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003696/1.29, allocations: 0.7717 MB / 1.18 GB, free: 13.06 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004021/1.291, allocations: 71.2 kB / 1.18 GB, free: 12.99 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003434/1.294, allocations: 0.8327 MB / 1.181 GB, free: 12.13 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-05/1.294, allocations: 4 kB / 1.181 GB, free: 12.13 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.26e-05/1.295, allocations: 4 kB / 1.181 GB, free: 12.12 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.91e-05/1.295, allocations: 7.969 kB / 1.181 GB, free: 12.12 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005647/1.3, allocations: 1.562 MB / 1.183 GB, free: 10.48 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/1.3, allocations: 4 kB / 1.183 GB, free: 10.48 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005583/1.301, allocations: 64.08 kB / 1.183 GB, free: 10.41 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001696/1.303, allocations: 269.2 kB / 1.183 GB, free: 10.14 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.335e-05/1.303, allocations: 0 / 1.183 GB, free: 10.14 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008953/1.312, allocations: 6.299 MB / 1.189 GB, free: 3.391 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/1.312, allocations: 3.938 kB / 1.189 GB, free: 3.387 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002568/1.314, allocations: 1.006 MB / 1.19 GB, free: 2.301 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004905/1.315, allocations: 184.3 kB / 1.19 GB, free: 2.102 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/1.315, allocations: 3.984 kB / 1.19 GB, free: 2.098 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006316/1.316, allocations: 19.97 kB / 1.19 GB, free: 2.078 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/1.316, allocations: 51.89 kB / 1.19 GB, free: 2.027 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.325e-05/1.316, allocations: 14.5 kB / 1.19 GB, free: 2.016 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0005366/1.316, allocations: 299 kB / 1.191 GB, free: 1.727 MB / 0.7917 GB Notification: Performance of sort global known variables: time 3.81e-07/1.316, allocations: 0 / 1.191 GB, free: 1.727 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001221/1.318, allocations: 203.9 kB / 1.191 GB, free: 1.527 MB / 0.7917 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.003084/1.321, allocations: 1.979 MB / 1.193 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.002915/1.324, allocations: 1.165 MB / 1.194 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/1.324, allocations: 0 / 1.194 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001927/1.326, allocations: 0.8387 MB / 1.195 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001411/1.327, allocations: 167.9 kB / 1.195 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003258/1.33, allocations: 1.101 MB / 1.196 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008682/1.331, allocations: 1.028 MB / 1.197 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.00068/1.332, allocations: 116.2 kB / 1.197 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000469/1.332, allocations: 251.4 kB / 1.197 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of SimCode: time 9.41e-07/1.332, allocations: 0 / 1.197 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0666/1.399, allocations: 14.6 MB / 1.211 GB, free: 12.3 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003183/1.399, allocations: 159.9 kB / 1.212 GB, free: 12.11 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.885/4.284, allocations: 3.938 kB / 1.212 GB, free: 12.1 MB / 0.823 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)