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.ACSimpleGrid.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.ACSimpleGrid,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.657/1.657, allocations: 251.9 MB / 266.9 MB, free: 11.06 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.001188/0.001188, allocations: 190.2 kB / 326.5 MB, free: 2.254 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.647/1.647, allocations: 205.4 MB / 0.5775 GB, free: 20.59 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.0007925/0.0007924, allocations: 98.3 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004621/0.0004622, allocations: 14.38 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1898, allocations: 106.3 MB / 0.9002 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.003791/0.1936, allocations: 3.703 MB / 0.9038 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003407/0.1971, allocations: 2.94 MB / 0.9066 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002323/0.1973, allocations: 7.938 kB / 0.9067 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000449/0.1978, allocations: 159.3 kB / 0.9068 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006621/0.1985, allocations: 291 kB / 0.9071 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004358/0.1989, allocations: 182.3 kB / 0.9073 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004188/0.1993, allocations: 343.3 kB / 0.9076 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009321/0.2003, allocations: 0.729 MB / 0.9083 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.2005, allocations: 155.5 kB / 0.9084 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002478/0.2008, allocations: 183.2 kB / 0.9086 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.635e-05/0.2008, allocations: 20 kB / 0.9086 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004619/0.2013, allocations: 235.6 kB / 0.9089 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.986e-05/0.2014, allocations: 127.6 kB / 0.909 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.578e-05/0.2015, allocations: 101.5 kB / 0.9091 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000585/0.202, allocations: 0.6588 MB / 0.9097 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2021, allocations: 4 kB / 0.9097 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2021, allocations: 0 / 0.9097 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.2021, allocations: 3.938 kB / 0.9097 GB, free: 54.47 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001219/0.2033, allocations: 0.7129 MB / 0.9104 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.2034, allocations: 16.03 kB / 0.9104 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.798e-05/0.2035, allocations: 70.52 kB / 0.9105 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002663/0.2061, allocations: 0.7053 MB / 0.9112 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007572/0.2069, allocations: 474.6 kB / 0.9117 GB, free: 52.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.2069, allocations: 20.66 kB / 0.9117 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-05/0.207, allocations: 31.98 kB / 0.9117 GB, free: 52.35 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.2084, allocations: 0.7864 MB / 0.9125 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.2084, allocations: 3.938 kB / 0.9125 GB, free: 51.53 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.593e-05/0.2084, allocations: 15.98 kB / 0.9125 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001137/0.2086, allocations: 56.58 kB / 0.9125 GB, free: 51.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001712/0.2103, allocations: 0.8765 MB / 0.9134 GB, free: 50.58 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003199/0.2135, allocations: 2.858 MB / 0.9162 GB, free: 47.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001442/0.2149, allocations: 0.5137 MB / 0.9167 GB, free: 46.98 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.105e-05/0.2151, allocations: 97.05 kB / 0.9168 GB, free: 46.87 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.2151, allocations: 30.56 kB / 0.9168 GB, free: 46.83 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 2.405e-06/0.2151, allocations: 0 / 0.9168 GB, free: 46.83 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24): time 0.01061/0.2257, allocations: 3.214 MB / 0.92 GB, free: 43.58 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.2258, allocations: 81.11 kB / 0.92 GB, free: 43.48 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004278/0.2262, allocations: 421.6 kB / 0.9204 GB, free: 43.07 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.976e-05/0.2263, allocations: 29.7 kB / 0.9205 GB, free: 43.03 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.2264, allocations: 239.8 kB / 0.9207 GB, free: 42.79 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.229e-05/0.2265, allocations: 86.73 kB / 0.9208 GB, free: 42.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/0.2265, allocations: 8 kB / 0.9208 GB, free: 42.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.833e-05/0.2266, allocations: 346.8 kB / 0.9211 GB, free: 42.35 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008231/0.2274, allocations: 367.5 kB / 0.9215 GB, free: 41.99 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000804/0.2283, allocations: 445.3 kB / 0.9219 GB, free: 41.52 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008066/0.2291, allocations: 385.6 kB / 0.9223 GB, free: 41.14 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2291, allocations: 0 / 0.9223 GB, free: 41.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004633/0.2337, allocations: 1.54 MB / 0.9238 GB, free: 39.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.000168/0.2339, allocations: 0.7901 MB / 0.9245 GB, free: 38.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.2339, allocations: 4 kB / 0.9245 GB, free: 38.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003648/0.2376, allocations: 0.8442 MB / 0.9254 GB, free: 37.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005984/0.2382, allocations: 135.8 kB / 0.9255 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005638/0.2439, allocations: 4.782 MB / 0.9302 GB, free: 32.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007688/0.2447, allocations: 127.8 kB / 0.9303 GB, free: 32.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.704e-05/0.2447, allocations: 11.98 kB / 0.9303 GB, free: 32.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.256e-06/0.2447, allocations: 4 kB / 0.9303 GB, free: 32.56 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003836/0.2486, allocations: 1.265 MB / 0.9315 GB, free: 31.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.2486, allocations: 7.938 kB / 0.9315 GB, free: 31.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002424/0.251, allocations: 0.5549 MB / 0.9321 GB, free: 30.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006354/0.2517, allocations: 139.8 kB / 0.9322 GB, free: 30.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003062/0.2548, allocations: 2.561 MB / 0.9347 GB, free: 27.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007966/0.2556, allocations: 115.8 kB / 0.9348 GB, free: 27.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-05/0.2556, allocations: 12.06 kB / 0.9348 GB, free: 27.77 MB / 0.6042 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.0003938/0.256, allocations: 324.9 kB / 0.9351 GB, free: 27.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.293e-05/0.2561, allocations: 35.53 kB / 0.9352 GB, free: 27.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00422/0.2603, allocations: 1.427 MB / 0.9366 GB, free: 25.96 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.2604, allocations: 8 kB / 0.9366 GB, free: 25.96 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2604, allocations: 0 / 0.9366 GB, free: 25.96 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.2604, allocations: 288 / 0.9366 GB, free: 25.96 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004938/0.2653, allocations: 2.09 MB / 0.9386 GB, free: 23.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.2654, allocations: 0 / 0.9386 GB, free: 23.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003753/0.2658, allocations: 91.98 kB / 0.9387 GB, free: 23.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003145/0.2689, allocations: 0.7857 MB / 0.9395 GB, free: 22.91 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.471e-05/0.269, allocations: 11.94 kB / 0.9395 GB, free: 22.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004794/0.2738, allocations: 4.61 MB / 0.944 GB, free: 18.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.2738, allocations: 0 / 0.944 GB, free: 18.02 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004072/0.2779, allocations: 1.474 MB / 0.9454 GB, free: 16.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002865/0.2782, allocations: 172.6 kB / 0.9456 GB, free: 16.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.542e-05/0.2783, allocations: 4 kB / 0.9456 GB, free: 16.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005621/0.2789, allocations: 99.84 kB / 0.9457 GB, free: 16.21 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/0.2791, allocations: 31.86 kB / 0.9457 GB, free: 16.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.903e-05/0.2791, allocations: 7.984 kB / 0.9457 GB, free: 16.17 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000306/0.2794, allocations: 311.1 kB / 0.946 GB, free: 15.87 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.11e-07/0.2794, allocations: 0 / 0.946 GB, free: 15.87 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007476/0.2802, allocations: 215.9 kB / 0.9462 GB, free: 15.66 MB / 0.6042 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.004385/0.2846, allocations: 2.234 MB / 0.9484 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003255/0.2878, allocations: 1.625 MB / 0.95 GB, free: 11.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.485e-06/0.2879, allocations: 0 / 0.95 GB, free: 11.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001182/0.2891, allocations: 0.6729 MB / 0.9507 GB, free: 11.01 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006801/0.2898, allocations: 114.7 kB / 0.9508 GB, free: 10.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008941/0.2987, allocations: 5.402 MB / 0.956 GB, free: 5.395 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.2992, allocations: 0.921 MB / 0.9569 GB, free: 4.445 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005694/0.2998, allocations: 151.2 kB / 0.9571 GB, free: 4.297 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002133/0.3, allocations: 139.4 kB / 0.9572 GB, free: 4.16 MB / 0.6042 GB Notification: Performance of SimCode: time 1.302e-06/0.3, allocations: 0 / 0.9572 GB, free: 4.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03274/0.3327, allocations: 15.87 MB / 0.9727 GB, free: 4.543 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003718/0.3332, allocations: 239.2 kB / 0.9729 GB, free: 4.297 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.182/2.516, allocations: 0 / 0.9729 GB, free: 4.297 MB / 0.6198 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)