Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 189.1 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.215/1.215, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.537/1.537, allocations: 292.3 MB / 0.5486 GB, free: 13.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 69.42 kB / 0.6711 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1787, allocations: 114.6 MB / 0.783 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.006907/0.1856, allocations: 6.065 MB / 0.7889 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004069/0.1897, allocations: 3.185 MB / 0.792 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002452/0.19, allocations: 23.81 kB / 0.792 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002023/0.192, allocations: 0.8829 MB / 0.7929 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007731/0.1928, allocations: 434 kB / 0.7933 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009138/0.1937, allocations: 434.4 kB / 0.7937 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009678/0.1947, allocations: 1.096 MB / 0.7948 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000845/0.1955, allocations: 0.7132 MB / 0.7955 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004356/0.196, allocations: 446.3 kB / 0.7959 GB, free: 492 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004555/0.1965, allocations: 486.2 kB / 0.7964 GB, free: 4 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.077e-05/0.1966, allocations: 60.05 kB / 0.7964 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000615/0.1972, allocations: 486.9 kB / 0.7969 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002425/0.1974, allocations: 295.2 kB / 0.7972 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000305/0.1977, allocations: 401.9 kB / 0.7976 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.1988, allocations: 1.195 MB / 0.7987 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1988, allocations: 0 / 0.7987 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of FrontEnd: time 9.92e-07/0.1988, allocations: 0 / 0.7987 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.1988, allocations: 0 / 0.7987 GB, free: 13.59 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001371/0.2002, allocations: 1.052 MB / 0.7998 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.2002, allocations: 12.03 kB / 0.7998 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001143/0.2003, allocations: 118.7 kB / 0.7999 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001411/0.2017, allocations: 227.6 kB / 0.8001 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006377/0.2024, allocations: 0.5259 MB / 0.8006 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.404e-05/0.2024, allocations: 45.67 kB / 0.8007 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.179e-05/0.2025, allocations: 68.36 kB / 0.8007 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.2038, allocations: 1.041 MB / 0.8018 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.904e-05/0.2038, allocations: 11.89 kB / 0.8018 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.4e-05/0.2039, allocations: 31.92 kB / 0.8018 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.777e-05/0.204, allocations: 65.28 kB / 0.8019 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009445/0.2049, allocations: 0.6996 MB / 0.8025 GB, free: 9.488 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004188/0.2091, allocations: 5.741 MB / 0.8081 GB, free: 3.32 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007516/0.2099, allocations: 0.6013 MB / 0.8087 GB, free: 2.676 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006836/0.2106, allocations: 421.3 kB / 0.8091 GB, free: 2.262 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.593e-05/0.2106, allocations: 7.781 kB / 0.8091 GB, free: 2.254 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.2107, allocations: 42.56 kB / 0.8092 GB, free: 2.203 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 1.583e-06/0.2107, allocations: 0 / 0.8092 GB, free: 2.203 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.003995/0.2147, allocations: 2.05 MB / 0.8112 GB, free: 60 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/0.2147, allocations: 55.41 kB / 0.8112 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004096/0.2152, allocations: 454.7 kB / 0.8117 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.664e-05/0.2152, allocations: 37.7 kB / 0.8117 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002151/0.2154, allocations: 383.1 kB / 0.8121 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.2155, allocations: 153.8 kB / 0.8122 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.2157, allocations: 110.2 kB / 0.8123 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.2158, allocations: 358.8 kB / 0.8127 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003305/0.2162, allocations: 249.2 kB / 0.8129 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004515/0.2166, allocations: 457 kB / 0.8133 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000862/0.2175, allocations: 0.7558 MB / 0.8141 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.2175, allocations: 4 kB / 0.8141 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001713/0.2192, allocations: 1.065 MB / 0.8151 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.2193, allocations: 8 kB / 0.8151 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.2193, allocations: 11.94 kB / 0.8151 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009709/0.2203, allocations: 331.8 kB / 0.8155 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002828/0.2205, allocations: 99.81 kB / 0.8156 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006431/0.227, allocations: 7.52 MB / 0.8229 GB, free: 3.223 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000343/0.2273, allocations: 36.02 kB / 0.8229 GB, free: 3.188 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.301e-05/0.2274, allocations: 28 kB / 0.823 GB, free: 3.16 MB / 0.6387 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002829/0.2277, allocations: 245.5 kB / 0.8232 GB, free: 2.91 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.134e-05/0.2278, allocations: 55.34 kB / 0.8232 GB, free: 2.855 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001613/0.2294, allocations: 0.9159 MB / 0.8241 GB, free: 1.922 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.2294, allocations: 4 kB / 0.8241 GB, free: 1.918 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2294, allocations: 4 kB / 0.8241 GB, free: 1.914 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2294, allocations: 288 / 0.8241 GB, free: 1.914 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002359/0.2318, allocations: 1.704 MB / 0.8258 GB, free: 124 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.2318, allocations: 0 / 0.8258 GB, free: 124 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.232, allocations: 55.78 kB / 0.8259 GB, free: 68 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009094/0.2329, allocations: 319.3 kB / 0.8262 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.66e-05/0.2329, allocations: 12 kB / 0.8262 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006249/0.2392, allocations: 7.514 MB / 0.8335 GB, free: 7.652 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.2392, allocations: 4 kB / 0.8335 GB, free: 7.648 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.2408, allocations: 1.014 MB / 0.8345 GB, free: 6.586 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002718/0.2411, allocations: 176.3 kB / 0.8347 GB, free: 6.395 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.474e-05/0.2412, allocations: 12 kB / 0.8347 GB, free: 6.383 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003375/0.2415, allocations: 19.97 kB / 0.8347 GB, free: 6.363 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.439e-05/0.2416, allocations: 39.89 kB / 0.8347 GB, free: 6.324 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.453e-05/0.2417, allocations: 12 kB / 0.8348 GB, free: 6.312 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000288/0.242, allocations: 310.8 kB / 0.8351 GB, free: 6.012 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.11e-07/0.242, allocations: 288 / 0.8351 GB, free: 6.012 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007058/0.2427, allocations: 196 kB / 0.8352 GB, free: 5.82 MB / 0.6544 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001784/0.2445, allocations: 1.567 MB / 0.8368 GB, free: 4.191 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0018/0.2463, allocations: 1.249 MB / 0.838 GB, free: 2.891 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.2463, allocations: 0 / 0.838 GB, free: 2.891 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.2474, allocations: 0.8699 MB / 0.8388 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009239/0.2484, allocations: 203.8 kB / 0.839 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007165/0.2555, allocations: 6.227 MB / 0.8451 GB, free: 11.23 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004847/0.256, allocations: 0.9881 MB / 0.8461 GB, free: 10.21 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002718/0.2563, allocations: 101.3 kB / 0.8462 GB, free: 10.11 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002265/0.2566, allocations: 223.4 kB / 0.8464 GB, free: 9.895 MB / 0.67 GB Notification: Performance of SimCode: time 4.41e-07/0.2566, allocations: 0 / 0.8464 GB, free: 9.895 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4268/0.6834, allocations: 15.15 MB / 0.8612 GB, free: 11 MB / 0.6856 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001994/0.6836, allocations: 236.3 kB / 0.8614 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.933/2.617, allocations: 0 / 0.8614 GB, free: 10.74 MB / 0.6856 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)