Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.397/1.397, allocations: 252 MB / 267 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00105/0.001051, allocations: 183.2 kB / 326.6 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.73/1.73, allocations: 205.4 MB / 0.5777 GB, free: 20.55 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008574/0.0008574, allocations: 81.94 kB / 0.6822 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002869/0.0002869, allocations: 9.219 kB / 0.7965 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.1999, allocations: 106.4 MB / 0.9003 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.004855/0.2049, allocations: 5.381 MB / 0.9056 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003444/0.2083, allocations: 3.019 MB / 0.9085 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003464/0.2087, allocations: 23.81 kB / 0.9085 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003124/0.209, allocations: 119 kB / 0.9087 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0007128/0.2098, allocations: 378 kB / 0.909 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000767/0.2105, allocations: 355.2 kB / 0.9094 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0007868/0.2113, allocations: 1.209 MB / 0.9105 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001211/0.2126, allocations: 0.9082 MB / 0.9114 GB, free: 52.9 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004456/0.213, allocations: 370.4 kB / 0.9118 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003792/0.2134, allocations: 430.4 kB / 0.9122 GB, free: 52.11 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.692e-05/0.2135, allocations: 32 kB / 0.9122 GB, free: 52.08 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005022/0.214, allocations: 247.6 kB / 0.9125 GB, free: 51.84 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001642/0.2142, allocations: 251.3 kB / 0.9127 GB, free: 51.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.2143, allocations: 157.3 kB / 0.9128 GB, free: 51.43 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005768/0.2148, allocations: 0.8807 MB / 0.9137 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.2149, allocations: 0 / 0.9137 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2149, allocations: 0 / 0.9137 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.2149, allocations: 0 / 0.9137 GB, free: 50.55 MB / 0.6042 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.001061/0.2159, allocations: 0.9193 MB / 0.9146 GB, free: 49.58 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.216, allocations: 8.031 kB / 0.9146 GB, free: 49.57 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.765e-05/0.2161, allocations: 114.5 kB / 0.9147 GB, free: 49.45 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/0.2174, allocations: 226.6 kB / 0.9149 GB, free: 49.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007474/0.2182, allocations: 0.5094 MB / 0.9154 GB, free: 48.68 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.989e-05/0.2182, allocations: 53.3 kB / 0.9155 GB, free: 48.62 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.2183, allocations: 63.89 kB / 0.9155 GB, free: 48.56 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.2196, allocations: 1.026 MB / 0.9165 GB, free: 47.43 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.014e-05/0.2196, allocations: 7.938 kB / 0.9166 GB, free: 47.43 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.308e-05/0.2197, allocations: 27.98 kB / 0.9166 GB, free: 47.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.992e-05/0.2198, allocations: 69.27 kB / 0.9166 GB, free: 47.33 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008661/0.2207, allocations: 0.6957 MB / 0.9173 GB, free: 46.63 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003742/0.2244, allocations: 5.76 MB / 0.9229 GB, free: 40.44 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006844/0.2251, allocations: 0.589 MB / 0.9235 GB, free: 39.81 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006293/0.2258, allocations: 416.6 kB / 0.9239 GB, free: 39.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.2258, allocations: 8.688 kB / 0.9239 GB, free: 39.39 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.2258, allocations: 42.55 kB / 0.924 GB, free: 39.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=41): time 3.307e-06/0.2258, allocations: 0 / 0.924 GB, free: 39.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.003859/0.2297, allocations: 2.049 MB / 0.926 GB, free: 37.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.2298, allocations: 67.36 kB / 0.926 GB, free: 37.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003468/0.2301, allocations: 446.7 kB / 0.9265 GB, free: 36.67 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.2301, allocations: 37.7 kB / 0.9265 GB, free: 36.63 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.2303, allocations: 391 kB / 0.9269 GB, free: 36.24 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.198e-05/0.2304, allocations: 153.8 kB / 0.927 GB, free: 36.09 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.373e-05/0.2304, allocations: 16 kB / 0.927 GB, free: 36.07 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.423e-05/0.2305, allocations: 362.8 kB / 0.9274 GB, free: 35.71 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.2308, allocations: 241.2 kB / 0.9276 GB, free: 35.48 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003312/0.2311, allocations: 453 kB / 0.928 GB, free: 34.94 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003368/0.2314, allocations: 311.8 kB / 0.9283 GB, free: 34.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.2315, allocations: 0 / 0.9283 GB, free: 34.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001537/0.233, allocations: 1.061 MB / 0.9294 GB, free: 33.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.233, allocations: 8 kB / 0.9294 GB, free: 33.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.233, allocations: 4.875 kB / 0.9294 GB, free: 33.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009223/0.234, allocations: 335.1 kB / 0.9297 GB, free: 33.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/0.2343, allocations: 103.8 kB / 0.9298 GB, free: 33.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004839/0.2391, allocations: 6.935 MB / 0.9366 GB, free: 25.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004279/0.2396, allocations: 36.02 kB / 0.9366 GB, free: 25.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.455e-05/0.2396, allocations: 24 kB / 0.9366 GB, free: 25.57 MB / 0.6042 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 (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 {(3,88.9%) 7,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002905/0.2399, allocations: 242.2 kB / 0.9369 GB, free: 25.32 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.149e-05/0.24, allocations: 59.25 kB / 0.9369 GB, free: 25.27 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001468/0.2415, allocations: 0.9159 MB / 0.9378 GB, free: 24.32 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.2415, allocations: 8 kB / 0.9378 GB, free: 24.32 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.2415, allocations: 4 kB / 0.9378 GB, free: 24.31 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.2415, allocations: 3.953 kB / 0.9378 GB, free: 24.31 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00212/0.2436, allocations: 1.696 MB / 0.9395 GB, free: 22.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.2436, allocations: 4 kB / 0.9395 GB, free: 22.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.2438, allocations: 44 kB / 0.9395 GB, free: 22.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008568/0.2447, allocations: 323.3 kB / 0.9398 GB, free: 22.15 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.2447, allocations: 11.95 kB / 0.9399 GB, free: 22.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004729/0.2494, allocations: 6.939 MB / 0.9466 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.2495, allocations: 0 / 0.9466 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.2509, allocations: 0.9991 MB / 0.9476 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001935/0.2511, allocations: 188.3 kB / 0.9478 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.903e-05/0.2512, allocations: 7.984 kB / 0.9478 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002625/0.2515, allocations: 19.98 kB / 0.9478 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.506e-05/0.2516, allocations: 43.88 kB / 0.9479 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/0.2516, allocations: 16 kB / 0.9479 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002543/0.2519, allocations: 298.9 kB / 0.9482 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2519, allocations: 0 / 0.9482 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006794/0.2525, allocations: 200 kB / 0.9483 GB, free: 12.84 MB / 0.6042 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 (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 {(3,88.9%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001527/0.2541, allocations: 1.556 MB / 0.9499 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001511/0.2556, allocations: 1.2 MB / 0.951 GB, free: 9.973 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2556, allocations: 0 / 0.951 GB, free: 9.973 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009377/0.2566, allocations: 0.87 MB / 0.9519 GB, free: 9.051 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008763/0.2575, allocations: 185.6 kB / 0.9521 GB, free: 8.875 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004769/0.2622, allocations: 3.993 MB / 0.956 GB, free: 4.719 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.2626, allocations: 0.9921 MB / 0.9569 GB, free: 3.699 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002971/0.2629, allocations: 97.17 kB / 0.957 GB, free: 3.605 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/0.2631, allocations: 223.4 kB / 0.9572 GB, free: 3.387 MB / 0.6042 GB Notification: Performance of SimCode: time 7.91e-07/0.2631, allocations: 0 / 0.9572 GB, free: 3.387 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04598/0.3091, allocations: 14.46 MB / 0.9714 GB, free: 5.184 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002928/0.3095, allocations: 220.5 kB / 0.9716 GB, free: 4.945 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.279/2.588, allocations: 4.062 kB / 0.9716 GB, free: 4.941 MB / 0.6198 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)