Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.987/1.987, allocations: 288.4 MB / 303.3 MB, free: 8.094 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.001001/0.001001, allocations: 187 kB / 372 MB, free: 10.26 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.556/1.556, allocations: 205.4 MB / 0.6307 GB, free: 9.984 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.0007747/0.0007745, allocations: 90.3 kB / 0.744 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003961/0.0003963, allocations: 15.17 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2371, allocations: 115.3 MB / 0.9797 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.003646/0.2408, allocations: 3.824 MB / 0.9834 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003446/0.2443, allocations: 3.018 MB / 0.9863 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002685/0.2446, allocations: 7.938 kB / 0.9863 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006153/0.2452, allocations: 163 kB / 0.9865 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0008781/0.2461, allocations: 304.1 kB / 0.9868 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005462/0.2467, allocations: 179.6 kB / 0.987 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005885/0.2473, allocations: 0.6502 MB / 0.9876 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000959/0.2482, allocations: 0.7339 MB / 0.9883 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002573/0.2485, allocations: 187.2 kB / 0.9885 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003118/0.2488, allocations: 247 kB / 0.9887 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.638e-05/0.2489, allocations: 20 kB / 0.9887 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004851/0.2494, allocations: 227.7 kB / 0.989 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.2495, allocations: 139.6 kB / 0.9891 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.526e-05/0.2496, allocations: 101.5 kB / 0.9892 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005624/0.2502, allocations: 0.674 MB / 0.9899 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2502, allocations: 3.938 kB / 0.9899 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2502, allocations: 0 / 0.9899 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.2502, allocations: 0 / 0.9899 GB, free: 17.04 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001159/0.2514, allocations: 0.7169 MB / 0.9906 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.2514, allocations: 15.95 kB / 0.9906 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.239e-05/0.2515, allocations: 74.52 kB / 0.9906 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00263/0.2541, allocations: 0.6897 MB / 0.9913 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000729/0.2549, allocations: 466.7 kB / 0.9918 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.134e-05/0.2549, allocations: 28.66 kB / 0.9918 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.497e-05/0.255, allocations: 31.92 kB / 0.9918 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/0.2565, allocations: 0.7787 MB / 0.9926 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.2565, allocations: 11.89 kB / 0.9926 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.212e-05/0.2566, allocations: 19.97 kB / 0.9926 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001259/0.2567, allocations: 52.59 kB / 0.9927 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001781/0.2585, allocations: 0.8726 MB / 0.9935 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003368/0.2619, allocations: 2.858 MB / 0.9963 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/0.2634, allocations: 0.5253 MB / 0.9968 GB, free: 9.551 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00063/0.264, allocations: 260.6 kB / 0.9971 GB, free: 9.293 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/0.2642, allocations: 89.09 kB / 0.9971 GB, free: 9.188 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/0.2642, allocations: 38.52 kB / 0.9972 GB, free: 9.141 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 5.44e-06/0.2642, allocations: 0 / 0.9972 GB, free: 9.141 MB / 0.6198 GB Notification: Performance of matching and sorting (n=24): time 0.01133/0.2756, allocations: 3.216 MB / 1 GB, free: 5.891 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.633e-05/0.2757, allocations: 81.11 kB / 1 GB, free: 5.793 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005932/0.2763, allocations: 417.6 kB / 1.001 GB, free: 5.375 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.955e-05/0.2764, allocations: 33.7 kB / 1.001 GB, free: 5.336 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.2766, allocations: 235.7 kB / 1.001 GB, free: 5.102 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.131e-05/0.2767, allocations: 82.83 kB / 1.001 GB, free: 5.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.86e-05/0.2767, allocations: 8 kB / 1.001 GB, free: 5.012 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001874/0.2769, allocations: 350.8 kB / 1.001 GB, free: 4.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007987/0.2777, allocations: 367.5 kB / 1.002 GB, free: 4.301 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008328/0.2786, allocations: 449.3 kB / 1.002 GB, free: 3.828 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008285/0.2794, allocations: 382.8 kB / 1.003 GB, free: 3.457 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.2794, allocations: 4 kB / 1.003 GB, free: 3.453 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004595/0.284, allocations: 1.539 MB / 1.004 GB, free: 1.902 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.674e-05/0.2841, allocations: 153.5 kB / 1.004 GB, free: 1.723 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.2841, allocations: 4 kB / 1.004 GB, free: 1.719 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003683/0.2878, allocations: 0.8442 MB / 1.005 GB, free: 0.8672 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005889/0.2884, allocations: 131.8 kB / 1.005 GB, free: 0.7383 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007143/0.2956, allocations: 4.67 MB / 1.01 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008083/0.2964, allocations: 119.9 kB / 1.01 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.344e-05/0.2965, allocations: 19.98 kB / 1.01 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.217e-06/0.2965, allocations: 4 kB / 1.01 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00415/0.3007, allocations: 1.253 MB / 1.011 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.3007, allocations: 8 kB / 1.011 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002628/0.3033, allocations: 0.5586 MB / 1.012 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006/0.3039, allocations: 143.8 kB / 1.012 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00351/0.3074, allocations: 2.494 MB / 1.014 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007523/0.3082, allocations: 115.8 kB / 1.014 GB, free: 6.949 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.554e-05/0.3083, allocations: 12 kB / 1.014 GB, free: 6.938 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004335/0.3087, allocations: 318.5 kB / 1.015 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.199e-05/0.3088, allocations: 43.64 kB / 1.015 GB, free: 6.574 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004659/0.3135, allocations: 1.423 MB / 1.016 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.3135, allocations: 4 kB / 1.016 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.3135, allocations: 0 / 1.016 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3135, allocations: 144 / 1.016 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005378/0.3189, allocations: 2.105 MB / 1.018 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.3189, allocations: 7.938 kB / 1.018 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003776/0.3193, allocations: 83.89 kB / 1.018 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00349/0.3228, allocations: 0.7858 MB / 1.019 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.536e-05/0.3228, allocations: 12 kB / 1.019 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005836/0.3287, allocations: 4.477 MB / 1.023 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.3287, allocations: 4.031 kB / 1.023 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004575/0.3333, allocations: 1.444 MB / 1.025 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002996/0.3336, allocations: 164.7 kB / 1.025 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.398e-05/0.3337, allocations: 15.98 kB / 1.025 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005949/0.3343, allocations: 91.86 kB / 1.025 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.3344, allocations: 27.91 kB / 1.025 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.19e-05/0.3344, allocations: 8 kB / 1.025 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004013/0.3349, allocations: 315.1 kB / 1.025 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3349, allocations: 0 / 1.025 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008697/0.3357, allocations: 204 kB / 1.026 GB, free: 11.01 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.004874/0.3406, allocations: 2.007 MB / 1.028 GB, free: 8.957 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003612/0.3442, allocations: 1.624 MB / 1.029 GB, free: 7.293 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.3443, allocations: 4 kB / 1.029 GB, free: 7.289 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001261/0.3455, allocations: 0.6614 MB / 1.03 GB, free: 6.602 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007519/0.3463, allocations: 121.2 kB / 1.03 GB, free: 6.484 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00964/0.356, allocations: 4.227 MB / 1.034 GB, free: 2.172 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005506/0.3565, allocations: 0.9093 MB / 1.035 GB, free: 1.234 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006175/0.3572, allocations: 163.1 kB / 1.035 GB, free: 1.074 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000238/0.3574, allocations: 139.4 kB / 1.035 GB, free: 0.9375 MB / 0.6511 GB Notification: Performance of SimCode: time 1.593e-06/0.3574, allocations: 0 / 1.035 GB, free: 0.9375 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03396/0.3914, allocations: 15.9 MB / 1.051 GB, free: 1.293 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001934/0.3916, allocations: 244.8 kB / 1.051 GB, free: 1.047 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.343/2.735, allocations: 0 / 1.051 GB, free: 1.047 MB / 0.6667 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)