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.ACLine_R.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.ACLine_R,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_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.1-maint.8.0.x/package.mo): time 1.855/1.855, allocations: 288.4 MB / 303.3 MB, free: 8.109 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.001569/0.001569, allocations: 178 kB / 372 MB, free: 10.29 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.566/1.566, allocations: 205.4 MB / 0.6307 GB, free: 10.04 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.0008854/0.0008854, allocations: 92.89 kB / 0.7441 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003806/0.0003806, allocations: 14.78 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.1943, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.006047/0.2004, allocations: 5.955 MB / 0.9855 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004501/0.205, allocations: 2.886 MB / 0.9883 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001112/0.2061, allocations: 19.88 kB / 0.9883 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007933/0.207, allocations: 138.8 kB / 0.9884 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00176/0.2087, allocations: 417.7 kB / 0.9888 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001301/0.2101, allocations: 324.4 kB / 0.9891 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001588/0.2117, allocations: 1.314 MB / 0.9904 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001663/0.2133, allocations: 0.9308 MB / 0.9913 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007758/0.2141, allocations: 394.4 kB / 0.9917 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007353/0.2149, allocations: 482.2 kB / 0.9922 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001334/0.215, allocations: 36 kB / 0.9922 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006435/0.2157, allocations: 195.7 kB / 0.9924 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003026/0.216, allocations: 259.3 kB / 0.9926 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002631/0.2163, allocations: 181.2 kB / 0.9928 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009112/0.2172, allocations: 0.9041 MB / 0.9937 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.2172, allocations: 0 / 0.9937 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2172, allocations: 0 / 0.9937 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.488e-05/0.2173, allocations: 0 / 0.9937 GB, free: 13.13 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001947/0.2192, allocations: 1.009 MB / 0.9947 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.2193, allocations: 16.02 kB / 0.9947 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001935/0.2195, allocations: 118.5 kB / 0.9948 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001501/0.221, allocations: 242.6 kB / 0.995 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008119/0.2218, allocations: 0.5326 MB / 0.9956 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.614e-05/0.2218, allocations: 45.3 kB / 0.9956 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.222, allocations: 63.91 kB / 0.9957 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.2233, allocations: 1.077 MB / 0.9967 GB, free: 9.828 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.095e-05/0.2233, allocations: 7.922 kB / 0.9967 GB, free: 9.82 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-05/0.2234, allocations: 31.98 kB / 0.9968 GB, free: 9.789 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001375/0.2235, allocations: 89.27 kB / 0.9968 GB, free: 9.703 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.2246, allocations: 0.7504 MB / 0.9976 GB, free: 8.949 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004353/0.229, allocations: 5.897 MB / 1.003 GB, free: 2.625 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008372/0.2298, allocations: 0.5631 MB / 1.004 GB, free: 2.051 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003576/0.2302, allocations: 322 kB / 1.004 GB, free: 1.734 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/0.2302, allocations: 8.438 kB / 1.004 GB, free: 1.727 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.2303, allocations: 35 kB / 1.004 GB, free: 1.684 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 2.565e-06/0.2303, allocations: 4 kB / 1.004 GB, free: 1.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.003589/0.2339, allocations: 1.982 MB / 1.006 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.2339, allocations: 59.83 kB / 1.006 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000786/0.2347, allocations: 0.5546 MB / 1.007 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.723e-05/0.2348, allocations: 33.7 kB / 1.007 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003431/0.2352, allocations: 418.9 kB / 1.007 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001551/0.2353, allocations: 169.6 kB / 1.007 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.49e-05/0.2354, allocations: 16 kB / 1.007 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.2356, allocations: 374.8 kB / 1.008 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004594/0.236, allocations: 269.8 kB / 1.008 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006055/0.2366, allocations: 0.4892 MB / 1.008 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005575/0.2372, allocations: 342 kB / 1.009 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.2372, allocations: 4 kB / 1.009 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00195/0.2392, allocations: 1.083 MB / 1.01 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/0.2392, allocations: 8 kB / 1.01 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.2393, allocations: 8 kB / 1.01 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009478/0.2402, allocations: 279.7 kB / 1.01 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004961/0.2407, allocations: 127.8 kB / 1.01 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006501/0.2472, allocations: 6.591 MB / 1.017 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007953/0.2481, allocations: 40.03 kB / 1.017 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.479e-05/0.2482, allocations: 28 kB / 1.017 GB, free: 4.043 MB / 0.6355 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 (67): * Single equations (assignments): 63 * 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.000477/0.2487, allocations: 258.8 kB / 1.017 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/0.2489, allocations: 67.25 kB / 1.017 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001629/0.2505, allocations: 0.8924 MB / 1.018 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.2505, allocations: 4 kB / 1.018 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.2505, allocations: 7.938 kB / 1.018 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.2505, allocations: 0 / 1.018 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002729/0.2533, allocations: 1.713 MB / 1.02 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.2533, allocations: 4.188 kB / 1.02 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002681/0.2536, allocations: 64.03 kB / 1.02 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007841/0.2544, allocations: 271.1 kB / 1.02 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.718e-05/0.2544, allocations: 8 kB / 1.02 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006172/0.2606, allocations: 6.58 MB / 1.026 GB, free: 9.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.2606, allocations: 7.969 kB / 1.026 GB, free: 9.512 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/0.2623, allocations: 0.9835 MB / 1.027 GB, free: 8.48 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003644/0.2627, allocations: 192.2 kB / 1.028 GB, free: 8.273 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.2628, allocations: 8 kB / 1.028 GB, free: 8.266 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000422/0.2632, allocations: 27.97 kB / 1.028 GB, free: 8.238 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.2634, allocations: 51.83 kB / 1.028 GB, free: 8.188 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.43e-05/0.2634, allocations: 16 kB / 1.028 GB, free: 8.172 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005171/0.2639, allocations: 375.1 kB / 1.028 GB, free: 7.809 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2639, allocations: 4 kB / 1.028 GB, free: 7.805 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008633/0.2648, allocations: 228 kB / 1.028 GB, free: 7.582 MB / 0.6511 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 () * Number of clocked 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%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001802/0.2666, allocations: 1.529 MB / 1.03 GB, free: 5.996 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002052/0.2687, allocations: 1.271 MB / 1.031 GB, free: 4.68 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.2687, allocations: 0 / 1.031 GB, free: 4.68 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001308/0.27, allocations: 0.8893 MB / 1.032 GB, free: 3.738 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.2712, allocations: 203 kB / 1.032 GB, free: 3.547 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006898/0.2781, allocations: 4.385 MB / 1.036 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006684/0.2788, allocations: 1.012 MB / 1.037 GB, free: 13.94 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004905/0.2793, allocations: 138 kB / 1.037 GB, free: 13.8 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003319/0.2797, allocations: 243.4 kB / 1.038 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of SimCode: time 7.22e-07/0.2797, allocations: 0 / 1.038 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0388/0.3185, allocations: 16.24 MB / 1.054 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001836/0.3187, allocations: 216.5 kB / 1.054 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.538/2.857, allocations: 0 / 1.054 GB, free: 13.39 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)